]> git.donarmstrong.com Git - infobot.git/commitdiff
cmd: hack
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Thu, 16 Oct 2003 20:25:48 +0000 (20:25 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Thu, 16 Oct 2003 20:25:48 +0000 (20:25 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@846 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/Factoids.pl

index d519cea651a13046749ee5942daf47320696fe58..af9736222566ed6356be60b0d0176b01b5e94a6f 100644 (file)
@@ -14,6 +14,7 @@ use vars qw(%param);
 # Usage: &CmdFactInfo($faqtoid, $query);
 sub CmdFactInfo {
     my ($faqtoid, $query) = (lc $_[0], $_[1]);
+    $faqtoid =~ s/^cmd:/CMD:/;
     my @array;
     my $string = "";