]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
[colorkick] fix bug == with eq
authorbw1 <redacted>
Tue, 7 Mar 2017 21:28:22 +0000 (22:28 +0100)
committerbw1 <redacted>
Tue, 7 Mar 2017 21:28:22 +0000 (22:28 +0100)
scripts/colorkick.pl

index de7e153fb2f9817c523e3f3323948a6d11b359d8..c28e4204bc635fd863424cf326543023c54079b5 100644 (file)
@@ -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;
git clone https://git.99rst.org/PROJECT