From: dms Date: Sun, 7 Oct 2001 16:08:44 +0000 (+0000) Subject: - ok, now it works. kill me, lear! X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=884b215a800302006deeb627317334a73f5ea741;p=infobot.git - ok, now it works. kill me, lear! git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@521 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Factoids/Statement.pl b/src/Factoids/Statement.pl index 6af6dc3..aec268c 100644 --- a/src/Factoids/Statement.pl +++ b/src/Factoids/Statement.pl @@ -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;