summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-20 21:38:40 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-20 21:38:40 +0000
commit751f9672abd8aa97177f72ac71cc8110ea479768 (patch)
tree30b7ecb035a56bd624209bb55477557ec6a64d61 /scripts
parentbac85d3fdd15c49ecd7028a5a7982dd04c9bbe30 (diff)
downloadirssi-751f9672abd8aa97177f72ac71cc8110ea479768.zip
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
Diffstat (limited to 'scripts')
-rw-r--r--scripts/quitmsg.pl2
1 files changed, 1 insertions, 1 deletions
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(<f>) { $lines++; };