mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-25 20:41:19 -05:00
Update config.py
made modeD a channel registryValue for more versatility
This commit is contained in:
parent
2f7b3c548a
commit
b98455e798
@ -65,13 +65,12 @@ conf.registerGlobalValue(ChanTracker, 'announceNagInterval',
|
||||
conf.registerGlobalValue(ChanTracker, 'resolveIp',
|
||||
registry.Boolean(True, """trying to resolve host's ip with socket, could add latency"""))
|
||||
|
||||
conf.registerGlobalValue(ChanTracker, 'modeD',
|
||||
## per-channel settings
|
||||
|
||||
conf.registerChannelValue(ChanTracker, 'modeD',
|
||||
registry.String("", """special mode if you want to use some specific stuff;
|
||||
$hostmask (*!*@*), $klinemask (*@*), $host, $channel, $reason, $nick and $duration are available"""))
|
||||
|
||||
|
||||
## per-channel settings
|
||||
|
||||
conf.registerChannelValue(ChanTracker, 'useAccountBanIfPossible',
|
||||
registry.Boolean(False, """bot will use account bans when user is identified, only works for b,q,e,I and m (chantracker.m)"""))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user