1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00

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
This commit is contained in:
Timo Sirainen 2001-10-20 21:38:40 +00:00 committed by cras
parent bac85d3fdd
commit 751f9672ab

View File

@ -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++; };