diff options
author | Robin Burchell <viroteck@viroteck.net> | 2012-04-09 06:38:53 -0700 |
---|---|---|
committer | Robin Burchell <viroteck@viroteck.net> | 2012-04-09 06:38:53 -0700 |
commit | c5e73ec35ea4a3376e67fb90714850db837d8ba2 (patch) | |
tree | 770d2b01fe1dd1821a29b5c749ae9c9e5289c703 /src/configreader.cpp | |
parent | 88b1a5a17da363891f76df614218b35d63f23f6d (diff) | |
parent | 10e0af3831cf29399541d4e2f6f2d6adfb7672bb (diff) |
Merge pull request #27 from DjSlash/maxconnwarn
Add <connect:maxconnwarn>
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 1 |
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); |