Commit d1ea6d2a authored by Per Cederqvist's avatar Per Cederqvist

Implement and use has_access() to simplify code. (Bug 723).

parent f140144b
2003-08-12 Per Cederqvist <ceder@ceder.dyndns.org>
Implement and use has_access() to simplify code. (Bug 723).
* src/server/manipulate.h, src/server/membership.c (has_access):
New function. This is a simple wrapper around access_perm that
simplifies the code.
* src/server/membership.c (filter_conf_no): Use has_access()
instead of access_perm() to simplify code.
(sub_member): Ditto.
(add_member_common): Ditto.
* src/server/text.c (filter_secret_info): Ditto.
(add_recipient): Ditto.
(sub_recipient): Ditto.
* src/server/send-async.c (async_new_name): Ditto.
(async_new_user_area): Ditto.
* src/server/regex-match.c (lookup_regexp): Ditto.
* src/server/person.c (do_query_read_texts): Ditto.
* src/server/conference.c (set_conf_errno): Ditto.
(lookup_name): Ditto.
(lookup_z_name): Ditto.
(do_lookup): Ditto.
(send_async_new_presentation): Ditto.
(send_async_new_motd): Ditto.
(modify_conf_info): Ditto.
* src/server/admin.c (send_message): Ditto.
* doc/lyskomd.texi (Adding a New Protocol Request): Fixed broken
code example. Use has_access() instead of access_perm().
lyskomd is now officially shut down via SIGTERM. (SIGHUP still
works, and SIGINT also shuts it down.) (Bug 808).
* doc/lyskomd.texi (Parameters): lyskomd is now officially shut
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment