diff --git a/NEWS b/NEWS index ec22047..9bc02ef 100644 --- a/NEWS +++ b/NEWS @@ -21,6 +21,7 @@ In this alpha5 release, we have added: Bug fixes: * Fixed a bug when viewing non-existent quotes. +* SEVERE: Fixed a bug that caused rehash to fail. Incompatibilities: diff --git a/doc/CHANGELOG b/doc/CHANGELOG index defeb69..8f8b68f 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log 3.0 Indev =============================================================================== + * Bug fix: Fixed broken rehash. * Ignore PRIVMSG's if they're from an invalid source. * Fixed an odd bug when viewing non-existent quotes. * You can now define how many results are returned by QDB SEARCH/MORE at a diff --git a/lib/Lib/Auto.pm b/lib/Lib/Auto.pm index 70cf8a3..e4d9cf1 100644 --- a/lib/Lib/Auto.pm +++ b/lib/Lib/Auto.pm @@ -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;