summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorRobin Burchell <viroteck@viroteck.net>2012-04-09 06:38:53 -0700
committerRobin Burchell <viroteck@viroteck.net>2012-04-09 06:38:53 -0700
commitc5e73ec35ea4a3376e67fb90714850db837d8ba2 (patch)
tree770d2b01fe1dd1821a29b5c749ae9c9e5289c703 /src/configreader.cpp
parent88b1a5a17da363891f76df614218b35d63f23f6d (diff)
parent10e0af3831cf29399541d4e2f6f2d6adfb7672bb (diff)
Merge pull request #27 from DjSlash/maxconnwarn
Add <connect:maxconnwarn>
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 6ef5105aa..a1a244501 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -375,6 +375,7 @@ void ServerConfig::CrossCheckConnectBlocks(ServerConfig* current)
me->maxlocal = tag->getInt("localmax", me->maxlocal);
me->maxglobal = tag->getInt("globalmax", me->maxglobal);
me->maxchans = tag->getInt("maxchans", me->maxchans);
+ me->maxconnwarn = tag->getBool("maxconnwarn", me->maxconnwarn);
me->limit = tag->getInt("limit", me->limit);
ClassMap::iterator oldMask = oldBlocksByMask.find(typeMask);