From 1cd304481c0c24af48bfb775c63d68e8f6975781 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 14 Dec 2005 18:07:24 +0000 Subject: Fixed vars git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2433 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 956dda1f0..bb257c8a0 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -98,7 +98,7 @@ whowas_hash whowas; command_table cmdlist; address_cache IP; servernamelist servernames; -int boundPortCount = 0; +int BoundPortCount = 0; std::vector all_opers; char lowermap[255]; @@ -475,7 +475,7 @@ InspIRCd::InspIRCd(int argc, char** argv) SetupCommandTable(); AddServerName(Config->ServerName); CheckDie(); - boundPortCount = BindPorts(); + BoundPortCount = BindPorts(); printf("\n"); startup_time = time(NULL); @@ -1541,7 +1541,7 @@ int InspIRCd::Run() /* Add the listening sockets used for client inbound connections * to the socket engine */ - for (int count = 0; count < portCount; count++) + for (int count = 0; count < BoundPortCount; count++) SE->AddFd(openSockfd[count],true,X_LISTEN); WritePID(Config->PID); -- cgit v1.2.3