finaly fixed first load of config

This commit is contained in:
Nicolas Coevoet 2013-10-19 09:13:01 +02:00
parent f0259c5b37
commit 7747f4d69c
2 changed files with 7 additions and 3 deletions

View File

@ -4,3 +4,7 @@ it stores affected users, permits to do deep search on them, review actives mode
It also has a lot of channel protection features, flood, repeat, uppercase, ctcps, notices, hilight, join/part flood, etc all of those settings configurable per channel
It works with any version of supybot, vannila, limnoria etc
After first load, you must type !config supybot.plugins.ChanTracker.CAPS account-notify,extended-join
and reload the plugin

View File

@ -46,13 +46,13 @@ conf.registerGlobalValue(ChanTracker, 'pool',
registry.Integer(60, """delay between two check about mode removal, in seconds, note, it's also based on irc activity, so removal may be delayed a bit"""))
conf.registerGlobalValue(ChanTracker, 'modesToAsk',
registry.CommaSeparatedListOfStrings("b,q", """sync lists for those modes on join"""))
registry.CommaSeparatedListOfStrings(['b','q'], """sync lists for those modes on join"""))
conf.registerGlobalValue(ChanTracker, 'modesToAskWhenOpped',
registry.CommaSeparatedListOfStrings("e,I", """sync lists for those modes when opped, only asked one time"""))
registry.CommaSeparatedListOfStrings(['e','I'], """sync lists for those modes when opped, only asked one time"""))
conf.registerGlobalValue(ChanTracker, 'CAPS',
registry.CommaSeparatedListOfStrings("account-notify,extended-join", """CAP asked to ircd, that permits to track username and account changes"""))
registry.CommaSeparatedListOfStrings(['account-notify','extended-join'], """CAP asked to ircd, that permits to track username and account changes"""))
conf.registerGlobalValue(ChanTracker, 'logsSize',
registry.PositiveInteger(60, """number of messages to keep, per nick - not per nick per channel"""))