mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
parent
bac85d3fdd
commit
751f9672ab
@ -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++; };
|
||||
|
Loading…
Reference in New Issue
Block a user