diff options
Diffstat (limited to 'lib/ASM')
| -rw-r--r-- | lib/ASM/DB.pm | 2 |
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}; |
