]> git.donarmstrong.com Git - infobot.git/commitdiff
- woops. forgot to check +o aswell.
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 3 Nov 2002 14:24:03 +0000 (14:24 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 3 Nov 2002 14:24:03 +0000 (14:24 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@598 c11ca15a-4712-0410-83d8-924469b57eb5

src/Factoids/Question.pl

index 347e5d6ba4aaf8c0ec70b748474ec09739f6cc45..c51ec75b90c51019dbe1434c0e4261769089aaff 100644 (file)
@@ -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;
        }