X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2FFactoids%2FUpdate.pl;h=400012e52387e126765c803dba173bf3966c8f82;hb=11e57f735626f775a95284a0d8ff284ec3617dc7;hp=915eec1b45aefbe6ec8d822fc5bc48a12ce57f50;hpb=ad88d63a585d6a206e651a9ea324d8610db7231d;p=infobot.git diff --git a/src/Factoids/Update.pl b/src/Factoids/Update.pl index 915eec1..400012e 100644 --- a/src/Factoids/Update.pl +++ b/src/Factoids/Update.pl @@ -54,7 +54,7 @@ sub update { # factoid arguments handler. # must start with a non-variable - if (&IsChanConf("factoidArguments") and $lhs =~ /^[^\$]+.*\$/) { + if (&IsChanConf("factoidArguments") > 0 and $lhs =~ /^[^\$]+.*\$/) { &status("Update: Factoid Arguments found."); &status("Update: orig lhs => '$lhs'."); &status("Update: orig rhs => '$rhs'.");