mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
factoids: dont remove trailing colon and/or comma from keywords in interpreter
This commit is contained in:
parent
c29a694359
commit
22c1673f3d
@ -205,8 +205,8 @@ sub interpreter {
|
||||
|
||||
$from = lc $from;
|
||||
|
||||
# remove trailing comma or colon from keyword if keyword has other characters beforehand
|
||||
$keyword =~ s/^(.+)[:,]$/$1/;
|
||||
# (COMMENTED OUT) remove trailing comma or colon from keyword if keyword has other characters beforehand
|
||||
# $keyword =~ s/^(.+)[:,]$/$1/;
|
||||
|
||||
return undef if not length $keyword;
|
||||
|
||||
|
@ -13,8 +13,8 @@ use warnings;
|
||||
# These are set automatically by the build/commit script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 248,
|
||||
BUILD_DATE => "2011-01-22",
|
||||
BUILD_REVISION => 249,
|
||||
BUILD_DATE => "2011-01-23",
|
||||
};
|
||||
|
||||
1;
|
||||
|
Loading…
Reference in New Issue
Block a user