summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-25 17:50:44 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-25 17:50:44 +0000
commita21b0c77e73175f1633fa3f40bed5eb744006bbb (patch)
treee84cd08fb1448a347581de72ff1e50161f35850c /docs
parent01a8a8ca82d44798a1c3ef302b6d3424c0ba1e67 (diff)
Example conf now with <limits> tag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9807 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs')
-rw-r--r--docs/inspircd.conf.example45
1 files changed, 45 insertions, 0 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example
index 866ba2ff0..8e7ebdb00 100644
--- a/docs/inspircd.conf.example
+++ b/docs/inspircd.conf.example
@@ -1030,6 +1030,51 @@
operspywhois="no"
userstats="Pu">
+#-#-#-#-#-#-#-#-#-#-#-#-# LIMITS CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#
+# #
+# This configuration tag defines the maximum sizes of various types #
+# on IRC, such as the maximum length of a channel name, and the #
+# maximum length of a channel. Note that with the exception of the #
+# identmax value all values given here are the exact values you would #
+# expect to see on IRC. This contrasts with the older InspIRCd #
+# releases where these values would be one character shorter than #
+# defined to account for a null terminator on the end of the text. #
+# #
+# The identmax value has special meaning, as it may grow one #
+# character longer than you specify, to accomodate for a ~ character #
+# when m_ident is loaded. #
+# #
+# These values should match network-wide, otherwise you may end up #
+# with desyncs, and confusing your users by being able to use a nick #
+# of a certain length on one server but not on another. Servers will #
+# link with mismatched values, but this is NOT recommended as a long #
+# term measure! #
+# #
+# Values here should be self explanitory: #
+# #
+# nickmax - The maximum length of a nickname #
+# chanmax - The maximum length of a channel name #
+# modemax - The maximum number of parameterized mode changes #
+# per line #
+# identmax - The maximum length of an ident/username value #
+# maxquit - The maximum length of a quit message #
+# maxtopic - The maximum length of a channel topic #
+# maxkick - The maximum length of a kick message #
+# maxgecos - The maximum length of a GECOS (real name) #
+# maxaway - The maximum length of an away message #
+# #
+
+<limits nickmax="31"
+ chanmax="64"
+ modemax="20"
+ identmax="11"
+ maxquit="255"
+ maxtopic="307"
+ maxkick="255"
+ maxgecos="128"
+ maxaway="200">
+
+
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Logging
# -------