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
1 changed files with 3 additions and 4 deletions

View File

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