summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 86dbf5da0..7033284c4 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -1029,7 +1029,7 @@ int BindPorts()
char configToken[MAXBUF], Addr[MAXBUF], Type[MAXBUF];
sockaddr_in client,server;
int clientportcount = 0;
- int BoundPortCount;
+ int BoundPortCount = 0;
for (int count = 0; count < Config->ConfValueEnum("bind",&Config->config_f); count++)
{
Config->ConfValue("bind","port",count,configToken,&Config->config_f);