summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/conf/inspircd.conf.example4
-rw-r--r--src/configreader.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example
index 2d22f3160..fd12fc08a 100644
--- a/docs/conf/inspircd.conf.example
+++ b/docs/conf/inspircd.conf.example
@@ -757,7 +757,7 @@
<limits
# maxnick: Maximum length of a nickname.
- maxnick="31"
+ maxnick="30"
# maxchan: Maximum length of a channel name.
maxchan="64"
@@ -766,7 +766,7 @@
maxmodes="20"
# maxident: Maximum length of a ident/username.
- maxident="11"
+ maxident="10"
# maxhost: Maximum length of a hostname.
maxhost="64"
diff --git a/src/configreader.cpp b/src/configreader.cpp
index d29ad8cef..0aedb874d 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -30,10 +30,10 @@
#include <iostream>
ServerLimits::ServerLimits(ConfigTag* tag)
- : NickMax(tag->getInt("maxnick", 32))
+ : NickMax(tag->getInt("maxnick", 30))
, ChanMax(tag->getInt("maxchan", 64))
, MaxModes(tag->getInt("maxmodes", 20))
- , IdentMax(tag->getInt("maxident", 11))
+ , IdentMax(tag->getInt("maxident", 10))
, MaxQuit(tag->getInt("maxquit", 255))
, MaxTopic(tag->getInt("maxtopic", 307))
, MaxKick(tag->getInt("maxkick", 255))