From 884b215a800302006deeb627317334a73f5ea741 Mon Sep 17 00:00:00 2001 From: dms Date: Sun, 7 Oct 2001 16:08:44 +0000 Subject: [PATCH] - 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 --- src/Factoids/Statement.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2