From: frostycoolslug Date: Sun, 1 May 2005 23:38:38 +0000 (+0000) Subject: Fixed bug resulting in osflags being called BEFORE getcache (Making it redundant.) X-Git-Tag: v2.0.23~10398 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=1c43dbae9114bfaf3152809628b030ce6e341c01;p=user%2Fhenk%2Fcode%2Finspircd.git Fixed bug resulting in osflags being called BEFORE getcache (Making it redundant.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1276 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/configure b/configure index a9fcbfa3e..87d1d32d6 100755 --- a/configure +++ b/configure @@ -41,7 +41,6 @@ if (!$config{MAX_CLIENT_T}) { } # Get and Set some important vars.. -getosflags(); getmodules(); my $arg = $ARGV[0]; # Do Some Argument Checks.. @@ -56,13 +55,16 @@ if ($arg eq "-update") { } else { # We've Loaded the cache file and all our variables.. print "Updating Files..\n"; + getosflags(); writefiles(); print "Complete.\n"; exit; } } -getcache(); # Load the config.cache file. + +getcache(); +getosflags(); if (!$config{MAX_CLIENT}) { # If the cache hasn't set the max clients, copy the variable of MAX_CLIENT_T, this