summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarDoug Freed <dwfreed@mtu.edu>2016-08-04 18:42:58 -0400
committerLibravatarDoug Freed <dwfreed@mtu.edu>2016-08-04 18:42:58 -0400
commita30ee59ec3d489d5ddbf8a78266f11bd2ee2d94d (patch)
tree4ed44acf37833702a0fb8cbc0086600e564a3ded
parent4382169e60b212ef0541bcf83cc9886c6fa34a8b (diff)
Fix case issue with checking for sync failures
-rw-r--r--lib/ASM/Event.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ASM/Event.pm b/lib/ASM/Event.pm
index b2ed5ac..b8b4d6c 100644
--- a/lib/ASM/Event.pm
+++ b/lib/ASM/Event.pm
@@ -901,8 +901,8 @@ sub on_quietlistend
", have used " . $cputime . " of CPU time" .
", have sent $tx of data, and received $rx of data.");
my %x = ();
- foreach my $c (@{$::settings->{autojoins}}) { $x{$c} = 1; }
- foreach my $cx (keys %::sc) { delete $x{$cx}; }
+ foreach my $c (@{$::settings->{autojoins}}) { $x{lc $c} = 1; }
+ foreach my $cx (keys %::sc) { delete $x{lc $cx}; }
if (scalar (keys %x)) {
$conn->privmsg($::settings->{masterchan}, "Syncing appears to have failed for " . ASM::Util->commaAndify(keys %x)) unless $::no_autojoins;
}