use a config option for store when we last checked for ban review.

That way we can skip bans already reviewed.
This commit is contained in:
Elián Hanisch
2010-03-30 13:32:28 -03:00
parent 82a5cd7d08
commit 7c042b4a79
2 changed files with 24 additions and 10 deletions

View File

@ -52,3 +52,9 @@ conf.registerChannelValue(Bantracker.commentRequest.forward, 'channels',
"List of channels/nicks to forward the request if the op that set the ban/quiet"\
" is in the forward list."))
# temp config
conf.registerGlobalValue(Bantracker, 'reviewTime',
registry.Integer(0, "", ))
conf.registerGlobalValue(Bantracker, 'reviewAfterTime',
registry.Integer(2, "", ))