Merge pull request #604 from Mkaysi/automode

AutoMode: use default settings that make sense.
This commit is contained in:
Valentin Lorentz 2014-05-03 15:17:15 +02:00
commit d020c67436

View File

@ -46,26 +46,26 @@ conf.registerChannelValue(AutoMode, 'enable',
registry.Boolean(True, _("""Determines whether this plugin is enabled.
""")))
conf.registerGlobalValue(AutoMode, 'owner',
registry.Boolean(True, _("""Determines whether this plugin will automode
registry.Boolean(False, _("""Determines whether this plugin will automode
owners even if they don't have op/halfop/voice/whatever capability.""")))
conf.registerChannelValue(AutoMode, 'alternativeCapabilities',
registry.Boolean(False, _("""Determines whether the bot will
check for 'alternative capabilities' (ie. autoop, autohalfop,
autovoice) in addition to/instead of classic ones.""")))
conf.registerChannelValue(AutoMode, 'fallthrough',
registry.Boolean(False, _("""Determines whether the bot will "fall
registry.Boolean(True, _("""Determines whether the bot will "fall
through" to halfop/voicing when auto-opping is turned off but
auto-halfopping/voicing are turned on.""")))
conf.registerChannelValue(AutoMode, 'op',
registry.Boolean(True, _("""Determines whether the bot will automatically
registry.Boolean(False, _("""Determines whether the bot will automatically
op people with the <channel>,op capability when they join the channel.
""")))
conf.registerChannelValue(AutoMode, 'halfop',
registry.Boolean(True, _("""Determines whether the bot will automatically
registry.Boolean(False, _("""Determines whether the bot will automatically
halfop people with the <channel>,halfop capability when they join the
channel.""")))
conf.registerChannelValue(AutoMode, 'voice',
registry.Boolean(True, _("""Determines whether the bot will automatically
registry.Boolean(False, _("""Determines whether the bot will automatically
voice people with the <channel>,voice capability when they join the
channel.""")))
conf.registerChannelValue(AutoMode, 'ban',