aboutsummaryrefslogtreecommitdiffstats
path: root/quit-notify
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-05-24 17:15:24 +0000
committerTom Feist <shabble@metavore.org>2011-05-24 17:15:24 +0000
commit5e2265919db3fa570a1d3862462faf8c984ec655 (patch)
treedc4eade08961f30eca9eca0dfd2263dbc9e4cb67 /quit-notify
parentbrought in changes in readme and deployment stuff from branch where it should... (diff)
downloadirssi-scripts-5e2265919db3fa570a1d3862462faf8c984ec655.tar.gz
irssi-scripts-5e2265919db3fa570a1d3862462faf8c984ec655.zip
notifyquit: oops, wrong branch. Now merged to master
Diffstat (limited to 'quit-notify')
-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 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);