diff options
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 335d8f4..3958a39 100644 --- a/quit-notify/notifyquit.pl +++ b/quit-notify/notifyquit.pl @@ -195,7 +195,7 @@ sub sig_send_text { return unless($witem); - return unless $witem->{type} eq 'CHANNEL'; + return unless ref $witem eq "HASH" && $witem->{type} eq 'CHANNEL'; # shouldn't need escaping, but it doesn't hurt to be paranoid. my $target_nick = extract_nick($data); |