summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index f572211f3..2320496c8 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -1169,6 +1169,11 @@ void ServerConfig::Read(bool bail, User* user)
MultiValues[Index].finish_function(this, MultiValues[Index].tag);
}
+ /* Finalise the limits, increment them all by one so that we can just put assign(str, 0, val)
+ * rather than assign(str, 0, val + 1)
+ */
+ Limits.Finalise();
+
}
catch (CoreException &ce)