diff options
author | Adam <Adam@anope.org> | 2013-05-05 01:55:04 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-05-05 01:55:04 -0400 |
commit | 1d0bb9b26b7ad58ab0bf979ac046f4511b3bf12b (patch) | |
tree | 4486f0784bdf050fd7eb225c0cb9df352ce1f45a /data/memoserv.example.conf | |
parent | 781defb7076ddfddf723ca08cd0a518b6657b64f (diff) |
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
Diffstat (limited to 'data/memoserv.example.conf')
-rw-r--r-- | data/memoserv.example.conf | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/data/memoserv.example.conf b/data/memoserv.example.conf index 40678bf53..6e4fd1e8d 100644 --- a/data/memoserv.example.conf +++ b/data/memoserv.example.conf @@ -56,18 +56,14 @@ service * * Provides essential functionality for MemoServ. */ -module { name = "memoserv" } - -/* - * Configuration for MemoServ provided by ms_main. - */ -memoserv +module { + name = "memoserv" /* * The name of the client that should be MemoServ. Clients are configured * with the service blocks. */ - name = "MemoServ" + client = "MemoServ" /* * The maximum number of memos a user is allowed to keep by default. Normal users may set the @@ -88,16 +84,6 @@ memoserv * This directive is optional, but recommended. */ senddelay = 3s - - /* - * Allow the use of memo receipts for the following groups: - * - * 1 - Opers Only - * 2 - Everybody - * - * This directive is optional. - */ - #memoreceipt = 1 } /* @@ -193,7 +179,17 @@ command { service = "MemoServ"; name = "READ"; command = "memoserv/read"; } * * Requires configuring memoserv:memoreceipt. */ -#module { name = "ms_rsend" } +#module +{ + name = "ms_rsend" + + /* + * Only allow Services Operators to use ms_rsend. + * + * This directive is optional. + */ + operonly = false +} #command { service = "MemoServ"; name = "RSEND"; command = "memoserv/rsend"; } /* |