summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Leadbeater2014-12-01 19:19:30 +0000
committerDavid Leadbeater2014-12-01 19:19:30 +0000
commit28765110c52116e35d36e50a01c4455578697b07 (patch)
tree136000e27661224288beef732e80dc644a26e774
parent0335f79002cdcd9c264e9cc52dbfca3a77cf30b3 (diff)
parentac9347f0006dc9379b1e861a94027f7c774d50dd (diff)
downloadscripts.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.yaml2
-rw-r--r--scripts/frm_outgmsgs.pl4
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;
}