]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - conf/opers.conf.example
Make CHANMODES/USERMODES split by spaces
[user/henk/code/inspircd.git] / conf / opers.conf.example
index 407cd71c55c67be2f6c3a9a5109bf8a625f13a51..2b75fa8089fb0325c34a4f835c86cf3d646b56df 100644 (file)
 #                                                                     #
 
 <class
-     name="Shutdown" 
+     name="Shutdown"
 
      # commands: oper commands that users of this class can run.
-     commands="DIE RESTART REHASH LOADMODULE UNLOADMODULE RELOAD GUNLOADMODULE GRELOADMODULE SAJOIN SAPART SANICK SAQUIT SATOPIC" 
+     commands="DIE RESTART REHASH LOADMODULE UNLOADMODULE RELOAD GUNLOADMODULE GRELOADMODULE SAJOIN SAPART SANICK SAQUIT SATOPIC"
 
      # privs: special privileges that users with this class may utilise.
      #  VIEWING:
@@ -34,7 +34,7 @@
      privs="users/auspex channels/auspex servers/auspex users/mass-message channels/high-join-limit channels/set-permanent users/flood/no-throttle users/flood/increased-buffers"
 
      # usermodes: Oper-only usermodes that opers with this class can use.
-     usermodes="*" 
+     usermodes="*"
 
      # chanmodes: Oper-only channel modes that opers with this class can use.
      chanmodes="*">
     # classes: classes (above blocks) that this type belongs to.
     classes="OperChat BanControl HostCloak Shutdown ServerLink"
 
-    # host: host oper gets on oper-up. This is optional. 
-    host="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">
 
-<type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" host="ircop.omega.org.za">
-<type name="Helper" classes="HostCloak" host="helper.omega.org.za">
+<type name="GlobalOp" classes="OperChat BanControl HostCloak ServerLink" vhost="ircop.omega.org.za">
+<type name="Helper" classes="HostCloak" vhost="helper.omega.org.za">
 
 
 #-#-#-#-#-#-#-#-#-#-#-  OPERATOR CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
@@ -80,7 +80,7 @@
 #                                                                     #
 
 # oline with plain-text password
-<oper 
+<oper
       # name: oper login that is used to oper up (/oper name password).
       # Remember: This is case sensitive
       name="Brain"
 
       # host: What hostnames/IP's are allowed to oper up with this oline.
       # Multiple options can be separated by spaces and CIDR's are allowed.
+      # You CAN use just * or *@* for this section, but it is not recommended\r
+      # for security reasons.\r
       host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
 
       # ** ADVANCED ** This option is disabled by default.
-      # fingerprint: When using the m_oper_ssl_cert module, you may specify
+      # fingerprint: When using the m_sslinfo module, you may specify
       # a key fingerprint here. This can be obtained by using the
       # /fingerprint command while the module is loaded. This enhances
       # security by verifying that the person opering up has the matching
       # key/certificate combination. This enhances security a great deal.
-      # If m_oper_ssl and m_ssl_gnutls/m_ssl_openssl aren't loaded,
+      # If m_sslinfo and m_ssl_gnutls/m_ssl_openssl aren't loaded,
       # this option will be ignored.
       #fingerprint="67:CB:9D:C0:13:24:8A:82:9B:B2:17:1E:D1:1B:EC:D4"
 
+      # sslonly: This oper can only oper up if they're using a SSL connection.
+      # Setting this option adds a decent bit of security. Highly recommended if
+      # the oper is on wifi or specifically, unsecured wifi.
+      # This setting only takes effect if m_sslinfo and m_ssl_gnutls or m_ssl_openssl
+      # are loaded.
+      #sslonly="yes"
+
+      # vhost: overrides the vhost in the type block. Class and modes may also
+      # be overridden
+      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="NetAdmin">
       type="NetAdmin">
 
 # oline with hashed password. It is highly recommended to use hashed passwords.
-<oper 
+<oper
       # name: oper login that is used to oper up (/oper name password).
       # Remember: This is case sensitive
       name="Brain"
 
       # host: What hostnames/IP's are allowed to oper up with this oline.
       # Multiple options can be separated by spaces and CIDR's are allowed.
+      # You CAN use just * or *@* for this section, but it is not recommended\r
+      # for security reasons.\r
       host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16"
 
       # type: What oper type this oline is. See the block above for list