summaryrefslogtreecommitdiffstats
path: root/lib/ASM/DB.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ASM/DB.pm')
-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 5852282..762d40a 100644
--- a/lib/ASM/DB.pm
+++ b/lib/ASM/DB.pm
@@ -76,7 +76,7 @@ sub actionlog
if ($quitmsg =~ /^Killed \((\S+) \((.*)\)\)$/) {
$bynick = $1;
$reason = $2 unless ($2 eq '<No reason given>');
- return if ($reason =~ /Nickname regained by services/);
+ return if (($reason // '') =~ /Nickname regained by services/);
$action = 'kill';
} elsif ($quitmsg =~ /^K-Lined$/) {
$action = 'k-line';