diff options
| author | 2010-08-13 16:56:24 -0400 | |
|---|---|---|
| committer | 2010-08-13 16:56:24 -0400 | |
| commit | 7cfd4039ca3a835abfa88dfd595187fb11aa6901 (patch) | |
| tree | 360b659045ea6a9b5b6d5227a7ff4da0e5ab4c44 /src/configreader.cpp | |
| parent | Remove Limits.Finalise(), doing this is completely incorrect (diff) | |
Remove duplicated settings now solely defined by the <connect> class
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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); |
