diff options
author | Peter Powell <petpow@saberuk.com> | 2018-04-14 16:53:03 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-04-16 15:07:06 +0100 |
commit | 7ef2f87e39bd22c7914caf7f2afbb1a3bf8fbd43 (patch) | |
tree | 29c9efd1c7f1f2e3c9e8d058068c28d5b66c40e0 /src/configreader.cpp | |
parent | dec17a2e32573a32751c975b5b55217442cd3185 (diff) |
Remove the default value in ConfigTag::get{Duration,Float,Int}.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 58a932981..76bd268f2 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -443,7 +443,7 @@ void ServerConfig::Fill() DefaultModes = options->getString("defaultmodes", "not"); PID = ConfValue("pid")->getString("file"); MaxChans = ConfValue("channels")->getInt("users", 20); - OperMaxChans = ConfValue("channels")->getInt("opers"); + OperMaxChans = ConfValue("channels")->getInt("opers", 0); c_ipv4_range = ConfValue("cidr")->getInt("ipv4clone", 32, 1, 32); c_ipv6_range = ConfValue("cidr")->getInt("ipv6clone", 128, 1, 128); Limits = ServerLimits(ConfValue("limits")); |