]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
setting maxconnections seems to get things going...
authorWilliam Pitcock <redacted>
Thu, 3 Apr 2008 01:45:24 +0000 (20:45 -0500)
committerWilliam Pitcock <redacted>
Thu, 3 Apr 2008 01:45:24 +0000 (20:45 -0500)
src/ircd.c

index c6193159b77690e76db6b683c8771d88735d6970..7822ed5dcf3a69b62297b17b6b9a069282fc778c 100644 (file)
@@ -154,6 +154,8 @@ init_sys(void)
                        exit(EXIT_FAILURE);
                }
        }
                        exit(EXIT_FAILURE);
                }
        }
+
+       maxconnections = limit.rlim_cur;
 #endif /* RLIMIT_NOFILE */
 }
 
 #endif /* RLIMIT_NOFILE */
 }