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:
parent
c29a694359
commit
22c1673f3d
@ -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;
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user