From 1c43dbae9114bfaf3152809628b030ce6e341c01 Mon Sep 17 00:00:00 2001 From: frostycoolslug Date: Sun, 1 May 2005 23:38:38 +0000 Subject: [PATCH] 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 --- configure | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.5