cleaned a bit some config option names:
dontRequestComment => commentRequest.ignore forwardRequest => commentRequest.forward forwardChannels => commentRequest.forward.channels
This commit is contained in:
@ -26,19 +26,18 @@ conf.registerGlobalValue(conf.supybot.plugins.Bantracker, 'database',
|
||||
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',
|
||||
conf.registerGroup(Bantracker, 'commentRequest')
|
||||
conf.registerChannelValue(Bantracker.commentRequest, 'ignore',
|
||||
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."))
|
||||
|
||||
conf.registerChannelValue(Bantracker, 'forwardRequest',
|
||||
conf.registerChannelValue(Bantracker.commentRequest, 'forward',
|
||||
registry.SpaceSeparatedListOfStrings([],
|
||||
"List of nicks for which the bot will forward the comment request to"\
|
||||
" the channels/nicks defined in forwardChannel option."\
|
||||
"List of nicks for which the bot will forward the request to"\
|
||||
" the channels/nicks defined in forwards.channels option."\
|
||||
" Is case insensible and wildcards * ? are accepted."))
|
||||
|
||||
conf.registerChannelValue(Bantracker, 'forwardChannels',
|
||||
conf.registerChannelValue(Bantracker.commentRequest.forward, 'channels',
|
||||
registry.SpaceSeparatedListOfStrings([],
|
||||
"List of channels/nicks to forward comment request if the op that set the ban/quiet"\
|
||||
" is in the forwardRequest list."))
|
||||
"List of channels/nicks to forward the request if the op that set the ban/quiet"\
|
||||
" is in the forward list."))
|
||||
|
||||
|
Reference in New Issue
Block a user