summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-07-04 14:03:50 +0100
committerattilamolnar <attilamolnar@hush.com>2013-07-06 18:00:27 +0200
commitae7b9c53af8cc9a622aefcfe542b48bd2c0a833d (patch)
tree6bb95706f6facfaf5cf4cee4c6b929a0dd395918
parentb64221d8ba35b461af9267537b3853728e4e02df (diff)
Remove restriction on changing <limits:maxline> while running.
-rw-r--r--src/configreader.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 85cf357c4..5c70a9e83 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -372,10 +372,6 @@ void ServerConfig::Fill()
std::string nsid = ConfValue("server")->getString("id");
if (!nsid.empty() && nsid != sid)
throw CoreException("You must restart to change the server id");
-
- if (Limits.MaxLine != static_cast<size_t>(ConfValue("limits")->getInt("maxline", 512)))
- throw CoreException("You must restart to change the maximum line length");
-
}
diepass = ConfValue("power")->getString("diepass");
restartpass = ConfValue("power")->getString("restartpass");