diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm
index effa405a..c4b3435b 100644
--- a/PBot/Factoids.pm
+++ b/PBot/Factoids.pm
@@ -119,7 +119,7 @@ sub export_factoids {
print FILE '' . "\n";
print FILE '' . "\n";
print FILE "\n
Last updated at $time\n";
- print FILE "
Candide's factoids
\n
\n";
+ print FILE "
Candide's factoids
\n";
my $i = 0;
my $table_id = 1;
@@ -487,8 +487,12 @@ sub interpreter {
} else {
return $ref_from . "$keyword is $result";
}
- }else {
- return $result;
+ } else {
+ if($result =~ m/^\/say/i || $result =~ m/^\/me/i || $result =~ m/^\/msg/i) {
+ return $result;
+ } else {
+ return "$keyword is $result";
+ }
}
} elsif($self->factoids->hash->{$channel}->{$keyword}->{type} eq 'regex') {
$result = eval {
diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm
index 718b95cd..786b1677 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 => 452,
+ BUILD_REVISION => 453,
BUILD_DATE => "2013-10-14",
};