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=f156cead4c86030d3f9533ce43c682d7526fbf74;p=infobot.git - woops. forgot to check +o aswell. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@598 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/Factoids/Question.pl b/blootbot/src/Factoids/Question.pl index 347e5d6..c51ec75 100644 --- a/blootbot/src/Factoids/Question.pl +++ b/blootbot/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; }