mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
Change the maximum nick/user size to match other implementations.
This commit is contained in:
parent
a012cf0aa8
commit
56fe5d6f2f
@ -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"
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user