aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2018-12-04 19:04:09 +0000
committerGravatar Peter Powell2018-12-04 19:04:09 +0000
commita4c1b1f4fcfd9cd967bf326afbbada3d91f9da34 (patch)
treea6bd890d53163c6d02b122198e06e2d35d319d43 /src/configreader.cpp
parentFix detecting secure clients connecting through HAProxy/WEBIRC. (diff)
Add an option for changing the allowed server clock drift.
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 52217722c..f5a8abb00 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -373,6 +373,7 @@ void ServerConfig::Fill()
SoftLimit = ConfValue("performance")->getUInt("softlimit", (SocketEngine::GetMaxFds() > 0 ? SocketEngine::GetMaxFds() : LONG_MAX), 10);
CCOnConnect = ConfValue("performance")->getBool("clonesonconnect", true);
MaxConn = ConfValue("performance")->getUInt("somaxconn", SOMAXCONN);
+ TimeSkipWarn = ConfValue("performance")->getDuration("timeskipwarn", 2, 0, 30);
XLineMessage = options->getString("xlinemessage", options->getString("moronbanner", "You're banned!"));
ServerDesc = server->getString("description", "Configure Me");
Network = server->getString("network", "Network");