aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-07-03 13:39:17 +0100
committerGravatar Sadie Powell2023-07-03 14:29:09 +0100
commitd739f3c12605d705932a5f649d08b9b57d0b963f (patch)
tree16e16a97b949c3074b270c24c4fc5673d6d1bbae /src/configreader.cpp
parentTell a marked user that their user@host was changed AFTER changing it. (diff)
Move ServerLimits inside ServerConfig.
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 4e4f1089c..497254765 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -40,7 +40,7 @@
#include "configparser.h"
#include "exitcodes.h"
-ServerLimits::ServerLimits(const std::shared_ptr<ConfigTag>& tag)
+ServerConfig::ServerLimits::ServerLimits(const std::shared_ptr<ConfigTag>& tag)
: MaxLine(tag->getNum<size_t>("maxline", 512, 512))
, MaxNick(tag->getNum<size_t>("maxnick", 30, 1, MaxLine))
, MaxChannel(tag->getNum<size_t>("maxchan", 60, 1, MaxLine))