aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-27 12:30:06 +0000
committerGravatar Sadie Powell2020-11-27 12:30:06 +0000
commit35765c15b1ad4a7207533d95db6db9bd67f3930e (patch)
treeb687aa3bb0020039a78189317ccb6fdd813eff31 /src/configreader.cpp
parentRename IdentMax to MaxUser for consistency with the other limits. (diff)
Rename NickMax to MaxNick for consistency with the other limits.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 4b7c5cd4e..694910c5a 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -39,7 +39,7 @@
ServerLimits::ServerLimits(std::shared_ptr<ConfigTag> tag)
: MaxLine(tag->getUInt("maxline", 512, 512))
- , NickMax(tag->getUInt("maxnick", 30, 1, MaxLine))
+ , MaxNick(tag->getUInt("maxnick", 30, 1, MaxLine))
, ChanMax(tag->getUInt("maxchan", 64, 1, MaxLine))
, MaxModes(tag->getUInt("maxmodes", 20, 1))
, MaxUser(tag->getUInt("maxident", 10, 1))