]> git.donarmstrong.com Git - infobot.git/commitdiff
- ok, now it works. kill me, lear!
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 7 Oct 2001 16:08:44 +0000 (16:08 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 7 Oct 2001 16:08:44 +0000 (16:08 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@521 c11ca15a-4712-0410-83d8-924469b57eb5

src/Factoids/Statement.pl

index 6af6dc3086471d31efa4bfbd8eb95447b1931ad7..aec268c0b98bcce4fde9c43513be228e41a4d786 100644 (file)
@@ -56,7 +56,7 @@ sub doStatement {
        my($lhs, $mhs, $rhs) = ($`, $&, $');
 
        # allows factoid arguments to be updated. -lear.
-#      $lhs =~ s/^(CMD: )?(.*)/$1 . lc $2/e;
+       $lhs =~ s/^(CMD: )?(.*)/$1||"" . lc $2/e;
 
        # discard article.
        $lhs =~ s/^(the|da|an?)\s+//i;