aboutsummaryrefslogtreecommitdiffstats
path: root/quit-notify
diff options
context:
space:
mode:
Diffstat (limited to 'quit-notify')
-rw-r--r--quit-notify/notifyquit.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/quit-notify/notifyquit.pl b/quit-notify/notifyquit.pl
index 026febd..335d8f4 100644
--- a/quit-notify/notifyquit.pl
+++ b/quit-notify/notifyquit.pl
@@ -201,7 +201,7 @@ sub sig_send_text {
my $target_nick = extract_nick($data);
if ($target_nick) {
- if (check_watchlist($target_nick, $witem, $server)
+ if (check_watchlist($target_nick, $witem->{name}, $server)
and not $witem->nick_find($target_nick)) {
return unless check_nick_exemptions($target_nick);