Merge pull request #851 from Mkaysi/anonymous

Anonymous: fix config help for allowPrivateTarget
This commit is contained in:
Valentin Lorentz 2014-10-09 16:13:42 +02:00
commit 95e2a796c6

View File

@ -56,10 +56,9 @@ conf.registerChannelValue(conf.supybot.plugins.Anonymous, 'requireCapability',
registry.String('', _("""Determines what capability (if any) the bot should registry.String('', _("""Determines what capability (if any) the bot should
require people trying to use this plugin to have."""))) require people trying to use this plugin to have.""")))
conf.registerGlobalValue(conf.supybot.plugins.Anonymous, 'allowPrivateTarget', conf.registerGlobalValue(conf.supybot.plugins.Anonymous, 'allowPrivateTarget',
registry.Boolean(False, _("""Determines whether the bot will require registry.Boolean(False, _("""Determines whether the bot will allow
targets of the "say" command to be public (i.e., channels). If this is "tell" command to be used. If this is true, the bot will allow people
True, the bot will allow people to use the "say" command to send private "tell" command to send private messages to other users.""")))
messages to other users.""")))
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: # vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: