aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-07-24 11:32:09 +0100
committerGravatar Sadie Powell2021-07-24 11:34:10 +0100
commitf4c257e1b20d285b27f5c2942d03c142eee82c09 (patch)
tree7477a22cf109a1de3ac873986a67c66dfdece112 /src/configreader.cpp
parentClean up the routing code in the ctables header. (diff)
parentAlso increase maxquit from 255 to 300. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 6d53699cb..55e2ce985 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -41,13 +41,13 @@
ServerLimits::ServerLimits(std::shared_ptr<ConfigTag> tag)
: MaxLine(tag->getUInt("maxline", 512, 512))
, MaxNick(tag->getUInt("maxnick", 30, 1, MaxLine))
- , MaxChannel(tag->getUInt("maxchan", 64, 1, MaxLine))
+ , MaxChannel(tag->getUInt("maxchan", 60, 1, MaxLine))
, MaxModes(tag->getUInt("maxmodes", 20, 1))
, MaxUser(tag->getUInt("maxident", 10, 1))
- , MaxQuit(tag->getUInt("maxquit", 255, 0, MaxLine))
- , MaxTopic(tag->getUInt("maxtopic", 307, 1, MaxLine))
- , MaxKick(tag->getUInt("maxkick", 255, 1, MaxLine))
- , MaxReal(tag->getUInt("maxreal", 128, 1, MaxLine))
+ , MaxQuit(tag->getUInt("maxquit", 300, 0, MaxLine))
+ , MaxTopic(tag->getUInt("maxtopic", 330, 1, MaxLine))
+ , MaxKick(tag->getUInt("maxkick", 300, 1, MaxLine))
+ , MaxReal(tag->getUInt("maxreal", 130, 1, MaxLine))
, MaxAway(tag->getUInt("maxaway", 200, 1, MaxLine))
, MaxHost(tag->getUInt("maxhost", 64, 1, MaxLine))
{