From: dms Date: Sun, 3 Nov 2002 14:24:03 +0000 (+0000) Subject: - woops. forgot to check +o aswell. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3b779b9f4a6311d51d8f76e9ff83c94acb261b05;p=infobot.git - woops. forgot to check +o aswell. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@598 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Factoids/Question.pl b/src/Factoids/Question.pl index 347e5d6..c51ec75 100644 --- a/src/Factoids/Question.pl +++ b/src/Factoids/Question.pl @@ -41,7 +41,7 @@ sub doQuestion { # there is no flag to disable/enable asking factoids... # so it was added... thanks zyxep! :) - if (&IsFlag("a") ne "a") { + if (&IsFlag("a") ne "a" && &IsFlag("o") ne "o") { &status("$who tried to ask us when not allowed."); return; }