summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLibravatarDoug Freed <dwfreed@mtu.edu>2015-12-11 09:01:29 +0400
committerLibravatarDoug Freed <dwfreed@mtu.edu>2015-12-11 09:01:29 +0400
commit5b8d0451bb5f092372c65ad59e5cc28b501e3c7e (patch)
tree8ea814bd4fec6d666743b7a314e0744f9b5c4297 /lib
parent2e5c3b973d5bc35253f5aa046ca055eb97eae680 (diff)
Fix warnings for newer perl
Diffstat (limited to 'lib')
-rw-r--r--lib/ASM/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ASM/DB.pm b/lib/ASM/DB.pm
index 86a1c78..5ed239b 100644
--- a/lib/ASM/DB.pm
+++ b/lib/ASM/DB.pm
@@ -93,7 +93,7 @@ sub actionlog
$host = $event->{host};
} elsif (($event->{type} eq 'part') && ($event->{args}->[0] =~ /^requested by (\S+) \((.*)\)/)) {
$bynick = $1;
- $reason = $2 unless (lc $reason eq lc $event->{nick});
+ $reason = $2 unless (lc $2 eq lc $event->{nick});
$action = 'remove';
$nick = $event->{nick};
$user = $event->{user};