Bug fix: Fixed broken rehash.
This commit is contained in:
1 parent
f3f58c8f94
commit
7902aba4c5
3 files changed
+3
-1
No files matched your search
@@ -21,6 +21,7 @@ In this alpha5 release, we have added:
|
|||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
* Fixed a bug when viewing non-existent quotes.
|
* Fixed a bug when viewing non-existent quotes.
|
||||||
|
* SEVERE: Fixed a bug that caused rehash to fail.
|
||||||
|
|
||||||
Incompatibilities:
|
Incompatibilities:
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log
|
|||||||
|
|
||||||
3.0 Indev
|
3.0 Indev
|
||||||
===============================================================================
|
===============================================================================
|
||||||
|
* Bug fix: Fixed broken rehash.
|
||||||
* Ignore PRIVMSG's if they're from an invalid source.
|
* Ignore PRIVMSG's if they're from an invalid source.
|
||||||
* Fixed an odd bug when viewing non-existent quotes.
|
* Fixed an odd bug when viewing non-existent quotes.
|
||||||
* You can now define how many results are returned by QDB SEARCH/MORE at a
|
* You can now define how many results are returned by QDB SEARCH/MORE at a
|
||||||
|
|||||||
+1
-1
@@ -55,7 +55,7 @@ sub rehash
|
|||||||
my %newsettings = $Auto::CONF->parse or err(2, 'Failed to parse configuration file!', 0) and return;
|
my %newsettings = $Auto::CONF->parse or err(2, 'Failed to parse configuration file!', 0) and return;
|
||||||
|
|
||||||
# Check for required configuration values.
|
# 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) {
|
foreach my $REQCVAL (@REQCVALS) {
|
||||||
if (!defined $newsettings{$REQCVAL}) {
|
if (!defined $newsettings{$REQCVAL}) {
|
||||||
err(2, "Missing required configuration value: $REQCVAL", 0) and return;
|
err(2, "Missing required configuration value: $REQCVAL", 0) and return;
|
||||||
|
|||||||
Reference in new issue
Block a user