From: bw1 Date: Tue, 7 Mar 2017 21:28:22 +0000 (+0100) Subject: [colorkick] fix bug == with eq X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=5aee3660b915afbb3e0c6d4419bfaaaa1eb7420d;p=irssi-scripts.irssi.org.git [colorkick] fix bug == with eq --- diff --git a/scripts/colorkick.pl b/scripts/colorkick.pl index de7e153..c28e420 100644 --- a/scripts/colorkick.pl +++ b/scripts/colorkick.pl @@ -40,7 +40,7 @@ sub catch_junk for my $channel (split(/ /, Irssi::settings_get_str('colorkick_channels'))) { - if ($target == $channel) + if ($target eq $channel) { $valid_channel = 1; last;