diff options
| author | Obfuscoder | 2014-10-19 11:54:16 +0200 |
|---|---|---|
| committer | Obfuscoder | 2014-10-19 11:54:16 +0200 |
| commit | dd80027b51b3ee71027a2612595aee38e38c0d6e (patch) | |
| tree | 0f0b84efd10e9288695d86b69de324c467fe4e7b /scripts/mass_hilight_blocker.pl | |
| parent | 263a56d196da657b72ccf2b195b50008d6a988dc (diff) | |
| download | scripts.irssi.org-dd80027b51b3ee71027a2612595aee38e38c0d6e.tar.bz2 | |
Fix perlcritic issues for all scripts starting with m to r
Diffstat (limited to 'scripts/mass_hilight_blocker.pl')
| -rw-r--r-- | scripts/mass_hilight_blocker.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mass_hilight_blocker.pl b/scripts/mass_hilight_blocker.pl index d5908ab..a5611a3 100644 --- a/scripts/mass_hilight_blocker.pl +++ b/scripts/mass_hilight_blocker.pl @@ -15,6 +15,7 @@ # * 30.05.2004 # first version of the script +use strict; use Irssi; use vars qw($VERSION %IRSSI); $VERSION = "0.2"; @@ -39,7 +40,7 @@ sub sig_printtext { my $server = $dest->{server}; # get server and channel for target my $channel = $server->channel_find($dest->{target}); - foreach $nick ($channel->nicks()) # walk through nicks + foreach my $nick ($channel->nicks()) # walk through nicks { $nick = $nick->{nick}; $nick =~ s/([\]\[])/\\$1/g; # ']' and '[' need masking |
