In the case of quiets done by Chanserv, it would be nice to still remind

the op to comment on it, like sending a notice to #ubuntu-ops.
So two new options for this:

forwardRequest: list of nicks for which the request will be redirected
forwardChannels: list of channels where the redirected request will be send
This commit is contained in:
Elián Hanisch
2010-03-15 20:51:32 -03:00
parent bf737d510f
commit 144291b933
2 changed files with 38 additions and 6 deletions

View File

@ -28,5 +28,17 @@ conf.registerGlobalValue(conf.supybot.plugins.Bantracker, 'bansite',
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."))
"List of nicks for which the bot won't request to comment a ban/quiet/removal."\
" Is case insensible and wildcards * ? are accepted."))
conf.registerChannelValue(Bantracker, 'forwardRequest',
registry.SpaceSeparatedListOfStrings([],
"List of nicks for which the bot will forward the comment request to"\
" the channels/nicks defined in forwardChannel option."\
" Is case insensible and wildcards * ? are accepted."))
conf.registerChannelValue(Bantracker, 'forwardChannels',
registry.SpaceSeparatedListOfStrings([],
"List of channels/nicks to forward comment request if the op that set the ban/quiet"\
" is in the forwardRequest list."))