]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - docs/inspircd.conf.example
Added allowpatterns
[user/henk/code/inspircd.git] / docs / inspircd.conf.example
index 39fa8fe1e0c0f4c15162d940f62d15c19f3056b2..903cf1182dfb1f23e8b34a31e5d2b36b6e244876 100644 (file)
 #   To allow/deny all connections use a *                             #
 #                                                                    #
 #  Syntax is as follows:                                             #
-#      <connect allow="ip number">                                   #
-#      <connect allow="ip number" password="blahblah">               #
-#       <connect allow="ip number" password="blah" timeout="10">      #
-#      <connect allow="ip number" timeout="blah" flood="5">          #
-#      <connect deny="ip number">                                    #
+#      <connect allow="ip or host">                                  #
+#      <connect allow="ip or host" password="blahblah">              #
+#       <connect allow="ip or host" password="blah" timeout="10">     #
+#      <connect allow="ip or host" timeout="blah" flood="5">         #
+#      <connect deny="ip or host">                                   #
 #                                                                     #
 #   You may optionally include timeout="x" on any allow line, which   #
 #   specifies the amount of time given before an unknown connection   #
 <banlist chan="#morons" limit="128">
 <banlist chan="*" limit="69">
 
+#-#-#-#-#-#-#-#-#-#-#-  DISABLED COMMANDS  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
+#                                                                     #
+# This tag is optional, and specifies one or more commands which are  #
+# not available to non-operators. For example you may wish to disable #
+# NICK and prevent non-opers from changing their nicknames.           #
+# Note that any disabled commands take effect only after the user has #
+# 'registered' (e.g. after the initial USER/NICK/PASS on connection)  #
+# so for example disabling NICK will not cripple your network.        #
+#                                                                     #
+#         <disabled commands="TOPIC MODE">                            #
+#                                                                     #
+
+
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-  RTFM LINE  -#-#-#-#-#-#-#-#-#-#-#-#-#-#
 #                                                                     #
 #   Just remove this... Its here to make you read ALL of the config   #
         loglevel="default"
         netbuffersize="10240"
          maxwho="128"
-        noservices="0">
+        noservices="0"
         allowhalfop="yes">
 
 
 
 <alias text="NICKSERV" replace="PRIVMSG NickServ :" requires="NickServ" uline="yes">
 <alias text="CHANSERV" replace="PRIVMSG ChanServ :" requires="ChanServ" uline="yes">
-<alias text="NS ID" replace="PRIVMSG NickServ :identify" requires="NickServ" uline="yes">
 <alias text="NS" replace="PRIVMSG NickServ :" requires="NickServ" uline="yes">
 <alias text="CS" replace="PRIVMSG ChanServ :" requires="ChanServ" uline="yes">