From 5e2265919db3fa570a1d3862462faf8c984ec655 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Tue, 24 May 2011 18:15:24 +0100 Subject: notifyquit: oops, wrong branch. Now merged to master --- quit-notify/notifyquit.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quit-notify') 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); -- cgit v1.2.3