From 9582364e83005ff40800023a2e5222a2fde22159 Mon Sep 17 00:00:00 2001 From: dms Date: Wed, 6 Sep 2000 15:00:48 +0000 Subject: [PATCH] minor change git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@75 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Factoids/Update.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/blootbot/src/Factoids/Update.pl b/blootbot/src/Factoids/Update.pl index de5b835..0d67869 100644 --- a/blootbot/src/Factoids/Update.pl +++ b/blootbot/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."); -- 2.39.5