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 5336edc728
3 files changed
+3 -1

No files matched your search

+1
View File
@@ -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:
+1
View File
@@ -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
+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;