From: dms Date: Mon, 25 Sep 2000 12:07:01 +0000 (+0000) Subject: notfound uses @query now; removed origQuery X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6463b250bff603b669fc46d3fda1f1458b44b320;p=infobot.git notfound uses @query now; removed origQuery git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@142 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Factoids/Question.pl b/src/Factoids/Question.pl index 56a3a53..1347ec9 100644 --- a/src/Factoids/Question.pl +++ b/src/Factoids/Question.pl @@ -30,7 +30,6 @@ sub doQuestion { return ''; } - my $origQuery = $query; my $questionWord = ""; if (!$addressed) { @@ -120,11 +119,7 @@ sub doQuestion { if ($questionWord ne "" or $finalQMark) { # if it has not been explicitly marked as a question if ($addressed and $reply eq "") { - if ($origQuery eq $query) { - &status("notfound: <$who> $origQuery"); - } else { - &status("notfound: <$who> $origQuery :: $query"); - } + &status("notfound: <$who> ".join(' :: ', @query)); return '' unless (&IsParam("friendlyBots"));