From 026c55cafc2c8e33f4119cec3dbdd04ecdc897cd Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 4 Nov 2006 13:20:42 +0000 Subject: As requested by satmd, inspircd will now run with no client ports configured git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5643 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/configreader.cpp') 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::iterator removing = removed_modules.begin(); removing != removed_modules.end(); removing++) -- cgit v1.2.3