diff options
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r-- | src/inspircd_io.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index e5a0bdcac..1a5046068 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -35,6 +35,7 @@ extern int boundPortCount; extern int openSockfd[MAXSOCKS]; extern time_t TIME; extern bool unlimitcore; +extern int MaxConn; void WriteOpers(char* text, ...); @@ -637,7 +638,7 @@ int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server } else { - listen(sockfd,32); + listen(sockfd, MaxConn); return(TRUE); } } |