summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-07-14 20:38:30 +0100
committerPeter Powell <petpow@saberuk.com>2017-08-13 16:27:29 +0100
commit56fe5d6f2fb4097a9d83f1d4b60fc2ddc2051844 (patch)
tree16841b537305998625687f14d27fa0d00ffe3ca2 /src/configreader.cpp
parenta012cf0aa8227b4bc4ce23b8b07eede904ac1afd (diff)
Change the maximum nick/user size to match other implementations.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp4
1 files changed, 2 insertions, 2 deletions
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))