summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorbw12017-03-07 02:05:51 +0100
committerbw12017-03-07 02:05:51 +0100
commit4d11f7ff9c1b2fb02b5984e11d0b9ae238383e53 (patch)
treedb5e99a724ae90e6e9e8d419b79a8706369f3252 /scripts
parent5e32fdbbb55a28b6c9753f3a525b84eb271ad134 (diff)
downloadscripts.irssi.org-4d11f7ff9c1b2fb02b5984e11d0b9ae238383e53.tar.bz2
[colorkick] declare $VERSION %IRSSI
Diffstat (limited to 'scripts')
-rw-r--r--scripts/colorkick.pl13
1 files changed, 7 insertions, 6 deletions
diff --git a/scripts/colorkick.pl b/scripts/colorkick.pl
index 24b29fd..de7e153 100644
--- a/scripts/colorkick.pl
+++ b/scripts/colorkick.pl
@@ -13,7 +13,8 @@ use strict;
use Irssi;
use Irssi::Irc;
-use vars %IRSSI;
+use vars qw/%IRSSI $VERSION/;
+$VERSION='0.1';
%IRSSI =
(
authors => "Gabor Nyeki",
@@ -22,7 +23,7 @@ use vars %IRSSI;
description => "kicking users for using colors or blinks",
license => "public domain",
written => "Thu Dec 26 00:22:54 CET 2002",
- changed => "Fri Jan 2 03:43:10 CET 2004"
+ changed => "2017-03-07"
);
sub catch_junk
@@ -31,10 +32,10 @@ sub catch_junk
my ($target, $text) = split(/ :/, $data, 2);
my $valid_channel = 0;
- if ($target[0] != '#' && $target[0] != '!' && $target[0] != '&')
- {
- return;
- }
+ #if ($target[0] != '#' && $target[0] != '!' && $target[0] != '&')
+ #{
+ # return;
+ #}
for my $channel (split(/ /,
Irssi::settings_get_str('colorkick_channels')))