diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index a8c5258c..7f8304dd 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,7 +13,7 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 533, + BUILD_REVISION => 534, BUILD_DATE => "2014-03-23", }; diff --git a/modules/math.pl b/modules/math.pl index 82d9e7d2..29fa631e 100755 --- a/modules/math.pl +++ b/modules/math.pl @@ -23,7 +23,7 @@ if($arguments =~ m/([\$`\|{}"'#@=])/) { } else { while($arguments =~ /([a-zA-Z0-9]+)/g) { my $keyword = $1; - next if $keyword =~ m/^[0-9]$/; + next if $keyword =~ m/^[0-9]+$/; $invalid = $keyword and last if not grep { /^$keyword$/ } @valid_keywords; } }