diff options
| author | David Leadbeater | 2014-12-01 19:19:30 +0000 |
|---|---|---|
| committer | David Leadbeater | 2014-12-01 19:19:30 +0000 |
| commit | 28765110c52116e35d36e50a01c4455578697b07 (patch) | |
| tree | 136000e27661224288beef732e80dc644a26e774 | |
| parent | 0335f79002cdcd9c264e9cc52dbfca3a77cf30b3 (diff) | |
| parent | ac9347f0006dc9379b1e861a94027f7c774d50dd (diff) | |
| download | scripts.irssi.org-28765110c52116e35d36e50a01c4455578697b07.tar.bz2 | |
Merge pull request #88 from pierrot14/fix-frm_outgmsgs
Fix missing parentheses in frm_outgmsgs.pl
| -rw-r--r-- | _data/scripts.yaml | 2 | ||||
| -rw-r--r-- | scripts/frm_outgmsgs.pl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/_data/scripts.yaml b/_data/scripts.yaml index f751a64..5c26130 100644 --- a/_data/scripts.yaml +++ b/_data/scripts.yaml @@ -4305,4 +4305,4 @@ modified: "2014-10-16" license: "Public Domain" name: "frm_outgmsgs" - version: "1.0" + version: "1.1" diff --git a/scripts/frm_outgmsgs.pl b/scripts/frm_outgmsgs.pl index 7e51566..71c9b02 100644 --- a/scripts/frm_outgmsgs.pl +++ b/scripts/frm_outgmsgs.pl @@ -5,7 +5,7 @@ use Scalar::Util qw(looks_like_number); use Irssi; use vars qw($VERSION %IRSSI); -$VERSION = '1.0'; +$VERSION = '1.1'; %IRSSI = ( authors => 'Pablo Martín Báez Echevarría', contact => 'pab_24n@outlook.com', @@ -95,7 +95,7 @@ sub cmd_colors { } sub is_mIRC_color { - my $num = @_; + my ( $num ) = @_; return (looks_like_number($num)) ? ((0 <= $num) && ($num <= 15)) : 0; } |
