X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=534de8154d33c7a46763addfa4b20e77e2a5013a;hb=719c1cbcf96a18fc90af6e4ff2ba78d17a968388;hp=15c31f1c7b37f7f3e0187569ccc15fe9e446a363;hpb=663e0a4e12392b365b8c0ba43d05a69d16bcd372;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index 15c31f1c7..534de8154 100755 --- a/configure +++ b/configure @@ -12,6 +12,7 @@ # ######################################## + require 5.6.0; use Cwd; use Getopt::Long; @@ -597,7 +598,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 +617,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"; } @@ -1540,7 +1542,7 @@ EOF print FILEHANDLE <