From 886f1ba488a5ab9d7fe4d7b4ac6b9c9dc2841738 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Wed, 3 Apr 2013 15:54:28 +0200 Subject: Convert InspIRCd::Duration() to be static --- src/configreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configreader.cpp') 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); -- cgit v1.3.1-10-gc9f91