From 152d2cd66487801d1aee4915fe89555614cfa4f3 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@521 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Factoids/Statement.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blootbot/src/Factoids/Statement.pl b/blootbot/src/Factoids/Statement.pl index 6af6dc3..aec268c 100644 --- a/blootbot/src/Factoids/Statement.pl +++ b/blootbot/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.5