3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-29 23:39:24 +01:00

factoids: dont remove trailing colon and/or comma from keywords in interpreter

This commit is contained in:
Pragmatic Software 2011-01-24 01:30:19 +00:00
parent c29a694359
commit 22c1673f3d
2 changed files with 4 additions and 4 deletions

View File

@ -205,8 +205,8 @@ sub interpreter {
$from = lc $from; $from = lc $from;
# remove trailing comma or colon from keyword if keyword has other characters beforehand # (COMMENTED OUT) remove trailing comma or colon from keyword if keyword has other characters beforehand
$keyword =~ s/^(.+)[:,]$/$1/; # $keyword =~ s/^(.+)[:,]$/$1/;
return undef if not length $keyword; return undef if not length $keyword;

View File

@ -13,8 +13,8 @@ use warnings;
# These are set automatically by the build/commit script # These are set automatically by the build/commit script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 248, BUILD_REVISION => 249,
BUILD_DATE => "2011-01-22", BUILD_DATE => "2011-01-23",
}; };
1; 1;