I'm surprised this does not even exist in infobot... weird.
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@597
c11ca15a-4712-0410-83d8-
924469b57eb5
} else {
### TODO: this should be caught in Process.pl?
return '' unless ($talkok);
+
+ # there is no flag to disable/enable asking factoids...
+ # so it was added... thanks zyxep! :)
+ if (&IsFlag("a") ne "a") {
+ &status("$who tried to ask us when not allowed.");
+ return;
+ }
}
# dangerous; common preambles should be stripped before here