new config option "dontRequestComment"

for prevent sending messages to specific ops, like floodbots.
This commit is contained in:
Elián Hanisch
2010-03-15 13:12:51 -03:00
parent fc99c36faf
commit c88cc2bbd9
2 changed files with 13 additions and 0 deletions

View File

@ -25,3 +25,8 @@ conf.registerGlobalValue(conf.supybot.plugins.Bantracker, 'database',
registry.String('', "Filename of the bans database", private=True))
conf.registerGlobalValue(conf.supybot.plugins.Bantracker, 'bansite',
registry.String('', "Web site for the bantracker, without the 'bans.cgi' appended", private=True))
conf.registerChannelValue(Bantracker, 'dontRequestComment',
registry.SpaceSeparatedListOfStrings([],
"List of nicks for which the bot won't request to comment a ban/quiet/removal. "\
"Is case insensible and wildcards * ? are accepted."))