diff options
author | Tom Feist <shabble@metavore.org> | 2011-04-22 09:45:58 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-04-22 09:45:58 +0000 |
commit | 6d6aed5b52fb22c9fa8a1726052e5106ea1d31cf (patch) | |
tree | b2ca6a00c1b69bd8fb37a260bd93268a0d5b55d6 /quit-notify | |
parent | notifyquit: added additional check for non-channel activities which may (diff) | |
download | irssi-scripts-6d6aed5b52fb22c9fa8a1726052e5106ea1d31cf.tar.gz irssi-scripts-6d6aed5b52fb22c9fa8a1726052e5106ea1d31cf.zip |
notifyquit: fixed check_watchlist test to pass a channel name, not an object.
Diffstat (limited to 'quit-notify')
-rw-r--r-- | quit-notify/notifyquit.pl | 2 |
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); |