From f156cead4c86030d3f9533ce43c682d7526fbf74 Mon Sep 17 00:00:00 2001 From: dms Date: Sun, 3 Nov 2002 14:24:03 +0000 Subject: [PATCH] - woops. forgot to check +o aswell. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@598 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Factoids/Question.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5