From 751f9672abd8aa97177f72ac71cc8110ea479768 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 20 Oct 2001 21:38:40 +0000 Subject: typofix - quit msg should be randomized if the msg isn't given (not if it is given..) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1867 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- scripts/quitmsg.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/quitmsg.pl b/scripts/quitmsg.pl index 1a946a19..981b15a0 100644 --- a/scripts/quitmsg.pl +++ b/scripts/quitmsg.pl @@ -9,7 +9,7 @@ my $quitfile = glob "~/.irssi/irssi.quit"; sub cmd_quit { my ($data, $server, $channel) = @_; - return if ($data eq ""); + return if ($data ne ""); open (f, $quitfile) || return; my $lines = 0; while() { $lines++; }; -- cgit v1.2.3