From 7cfd4039ca3a835abfa88dfd595187fb11aa6901 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Fri, 13 Aug 2010 16:56:24 -0400 Subject: Remove duplicated settings now solely defined by the class --- src/configreader.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index afe05ea97..3c843f835 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -28,8 +28,6 @@ ServerConfig::ServerConfig() NetBufferSize = 10240; SoftLimit = ServerInstance->SE->GetMaxFds(); MaxConn = SOMAXCONN; - MaxChans = 20; - OperMaxChans = 30; c_ipv4_range = 32; c_ipv6_range = 128; } @@ -431,8 +429,6 @@ void ServerConfig::Fill() WhoWasGroupSize = ConfValue("whowas")->getInt("groupsize"); WhoWasMaxGroups = ConfValue("whowas")->getInt("maxgroups"); WhoWasMaxKeep = ServerInstance->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); c_ipv6_range = ConfValue("cidr")->getInt("ipv6clone", 128); Limits.NickMax = ConfValue("limits")->getInt("maxnick", 32); -- cgit v1.3.1-10-gc9f91