aboutsummaryrefslogtreecommitdiffstats
path: root/quit-notify/notifyquit.pl
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-04-22 09:45:58 +0000
committerTom Feist <shabble@metavore.org>2011-04-22 09:45:58 +0000
commit6d6aed5b52fb22c9fa8a1726052e5106ea1d31cf (patch)
treeb2ca6a00c1b69bd8fb37a260bd93268a0d5b55d6 /quit-notify/notifyquit.pl
parentnotifyquit: added additional check for non-channel activities which may (diff)
downloadirssi-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/notifyquit.pl')
-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);