From b319d546a98a83e58fd20aba26a19df5ffc33417 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Fri, 22 Apr 2011 10:37:37 +0100 Subject: notifyquit: added additional check for non-channel activities which may influence watchlist. --- quit-notify/notifyquit.pl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'quit-notify') diff --git a/quit-notify/notifyquit.pl b/quit-notify/notifyquit.pl index eef4276..026febd 100644 --- a/quit-notify/notifyquit.pl +++ b/quit-notify/notifyquit.pl @@ -284,6 +284,12 @@ sub check_watchlist { my $check = exists ($watchlist->{$tag}->{$channel}->{$nick}); _debug("Check for $nick in $channel/$tag is " .( $check ? 'true' : 'false')); + # check the server-wide list if the channel-specific one fails. + if (not $check) { + $check = exists ($watchlist->{$tag}->{'***'}->{$nick}); + _debug("Check for $nick in ***/$tag is " .( $check ? 'true' : 'false')); + } + return $check; } -- cgit v1.2.3