From bcf62a6ee4efbb2bf51a74b5742a024a674aba4e Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Sat, 14 Aug 2010 18:43:21 -0400 Subject: Document the mode/ oper permission now preferred in 2.1 --- docs/opers.conf.example | 50 ++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'docs') diff --git a/docs/opers.conf.example b/docs/opers.conf.example index 50e742c77..4399b6d44 100644 --- a/docs/opers.conf.example +++ b/docs/opers.conf.example @@ -26,17 +26,14 @@ # - users/mass-message: allows opers with this priv to PRIVMSG and NOTICE to a server mask (e.g. NOTICE $*) # OVERRIDE: # - override/: allows permisison to be overridden via m_override + # MODES: + # - mode/: allows setting/unsetting of oper-only modes + # (the 2.0 usermodes/chanmodes parameters are still supported for lettered modes) # - # NOTE: many of the settings (channels/high-join-limit, users/flood/*) have changed to - # numerical settings in the class to allow them to be assigned to users. + # NOTE: many of the settings (channels/high-join-limit, users/flood/*) have changed to + # numerical settings in the class to allow them to be assigned to users. # - privs="users/auspex channels/auspex servers/auspex users/mass-message channels/high-join-limit" - - # usermodes: Oper-only usermodes that opers with this class can use. - usermodes="*" - - # chanmodes: Oper-only channel modes that opers with this class can use. - chanmodes="*"> + privs="users/auspex channels/auspex servers/auspex users/mass-message channels/high-join-limit mode/*"> @@ -52,24 +49,26 @@ # # or blocks; in this case, no blocks are required. # class: A named class for this oper; use to raise general user limits class="OperOnlyClass" - # vhost: host oper gets on oper-up. This is optional. - vhost="netadmin.omega.org.za" + # vhost: host oper gets on oper-up. This is optional. + vhost="netadmin.omega.org.za" - # modes: usermodes besides +o that are set on a oper of this type - # when they oper up. Used for snomasks and other things. - # Requires that m_opermodes.so be loaded. - modes="+s +cCqQ"> + # modes: usermodes besides +o that are set on a oper of this type + # when they oper up. Used for snomasks and other things. + # Requires that m_opermodes.so be loaded. + modes="+s +cCqQ"> @@ -119,12 +118,13 @@ # This setting only takes effect if m_sslinfo is loaded. #sslonly="yes" - # vhost: overrides the vhost in the type block. Class and modes may also - # be overridden + # vhost: overrides the vhost in the type block. You can also override + # any fields in or blocks; permissions and command lists + # are merged (the oper gets all specified permissions) vhost="brain.netadmin.omega" - # type: What oper type this oline is. See the block above for list - # of types. NOTE: This is case-sensitive as well. + # type: What oper type this oline is. Must match a block defined + # above. Note: this is case sensitive. Use "_" for a space. type="NetAdmin"> # oline with plain-text password and no comments..for all who like copy & paste -- cgit v1.3.1-10-gc9f91