summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-03 15:54:28 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-03 15:54:28 +0200
commit886f1ba488a5ab9d7fe4d7b4ac6b9c9dc2841738 (patch)
tree02eabf80806341753a17e6d1e68cacbc41ee484c /src/configreader.cpp
parent2bcb73e8339d4ad9db6c0e9cd1307b522f3fcde5 (diff)
Convert InspIRCd::Duration() to be static
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 6d37574e9..2d918cb74 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -535,7 +535,7 @@ void ServerConfig::Fill()
PID = ConfValue("pid")->getString("file");
WhoWasGroupSize = ConfValue("whowas")->getInt("groupsize");
WhoWasMaxGroups = ConfValue("whowas")->getInt("maxgroups");
- WhoWasMaxKeep = ServerInstance->Duration(ConfValue("whowas")->getString("maxkeep"));
+ WhoWasMaxKeep = InspIRCd::Duration(ConfValue("whowas")->getString("maxkeep"));
MaxChans = ConfValue("channels")->getInt("users", 20);
OperMaxChans = ConfValue("channels")->getInt("opers", 60);
c_ipv4_range = ConfValue("cidr")->getInt("ipv4clone", 32);