summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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++; };