summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 18:07:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 18:07:24 +0000
commit1cd304481c0c24af48bfb775c63d68e8f6975781 (patch)
tree92f39c26d895c984dd8fe49d388ea1b42bd07338 /src/inspircd.cpp
parentd3c5c8cfa2cd8c9dfd83e22f35702f5fb7d9f7ac (diff)
Fixed vars
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2433 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp6
1 files changed, 3 insertions, 3 deletions
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<userrec*> 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);