refactoring, and fix: config option request.review must be global, since

the review timestamp isn't channel specific
This commit is contained in:
Elián Hanisch
2010-04-03 21:55:59 -03:00
parent deef5dbf37
commit 8e05e8748a
2 changed files with 21 additions and 17 deletions

View File

@ -53,7 +53,7 @@ conf.registerChannelValue(Bantracker.request.forward, 'channels',
registry.SpaceSeparatedListOfStrings([],
"List of channels/nicks to forward the request if the op that set the ban/quiet"\
" is in the forward list."))
conf.registerChannelValue(Bantracker.request, 'review',
conf.registerGlobalValue(Bantracker.request, 'review',
registry.Float(7,
"Days after which the bot will request for review a ban. Can be an integer or decimal value."))