diff options
Diffstat (limited to 'quit-notify/notifyquit.pl')
-rw-r--r-- | quit-notify/notifyquit.pl | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |