From: dms Date: Wed, 6 Sep 2000 15:00:48 +0000 (+0000) Subject: minor change X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ae2df83b9b8e7de2d015093561b733444bec8be2;p=infobot.git minor change git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@75 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Factoids/Update.pl b/src/Factoids/Update.pl index de5b835..0d67869 100644 --- a/src/Factoids/Update.pl +++ b/src/Factoids/Update.pl @@ -117,9 +117,7 @@ sub update { &setFactInfo($lhs, "factoid_value", $rhs); } else { # not "also" if ($correction_plausible) { # "no, blah is ..." - my $author = &getFactInfo($lhs, "created_by"); - - &DEBUG("Update: check: '$author' == '$who' ?"); + my $author = &getFactInfo($lhs, "created_by") || ""; if (IsFlag("m") ne "m" and $author !~ /^\Q$who\E\!/i) { &msg($who, "you can't change that factoid.");