diff options
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index a14658a7a..9e0a6d8b0 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -771,7 +771,8 @@ void ServerConfig::Read(bool bail, userrec* user) */ if (!bail) { - ServerInstance->stats->BoundPortCount = ServerInstance->BindPorts(false); + int found_ports; + ServerInstance->stats->BoundPortCount = ServerInstance->BindPorts(false, found_ports); if (!removed_modules.empty()) for (std::vector<std::string>::iterator removing = removed_modules.begin(); removing != removed_modules.end(); removing++) |