diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-26 19:27:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-26 19:27:07 +0000 |
commit | ddb55c296c5b76bc048c7328af1a6b01485092b8 (patch) | |
tree | b135f0bb8f6d9c57a19d1606f619efe941dbbf5a /configure | |
parent | 64f7f6da9cf8f3f79dd665880b4f9d25cc6e4ba1 (diff) |
Allow configuring of MAX_DESCRIPTORS by picking max number of clients
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5542 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -597,7 +597,7 @@ should NOT be used. You should probably specify a newer compiler.\n\n"; $var = $config{MAX_CLIENT}; } if ($var =~ /^\d+$/) { - if (($var > $config{MAX_CLIENT_T}) && ($fd_scan_failed ne true)) { + if (($var > $config{MAX_CLIENT_T}) && ($fd_scan_fail ne "true")) { # Client has entered a larger number than the 'discovered' value # Confirm. print "WARNING: Our scans have indicated that you are attempting @@ -616,6 +616,7 @@ you wish to do this? It may cause the IRCd to malfunction [y/n] } # If we get here, we should be good to go. $config{MAX_CLIENT} = $var; + $config{MAX_DESCRIPTORS} = $var; $continue = 1; print "\n"; } |