Bug fix: Fixed broken rehash.

This commit is contained in:
Elijah Perrault committed 2011-02-21 23:30:55 -07:00
1 parent f3f58c8f94
commit 7902aba4c5
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ sub rehash
my %newsettings = $Auto::CONF->parse or err(2, 'Failed to parse configuration file!', 0) and return;
# Check for required configuration values.
my @REQCVALS = qw(locale expire_logs server fantasy_pf ratelimit database:format bantype);
my @REQCVALS = qw(locale expire_logs server fantasy_pf ratelimit bantype);
foreach my $REQCVAL (@REQCVALS) {
if (!defined $newsettings{$REQCVAL}) {
err(2, "Missing required configuration value: $REQCVAL", 0) and return;