src/conf.py reword help text for supybot.user

and supybot.networks.<network>.user
This commit is contained in:
Mikaela Suomalainen 2014-07-09 08:27:01 +03:00 committed by Valentin Lorentz
parent d0c53d9c00
commit 20f8c5c56a

View File

@ -214,8 +214,8 @@ class VersionIfEmpty(registry.String):
return ret return ret
registerGlobalValue(supybot, 'user', registerGlobalValue(supybot, 'user',
VersionIfEmpty('', _("""Determines the user the bot sends to the server. VersionIfEmpty('', _("""Determines the real name which the bot sends to the server.
A standard user using the current version of the bot will be generated if A standard real name using the current version of the bot will be generated if
this is left empty."""))) this is left empty.""")))
class Networks(registry.SpaceSeparatedSetOfStrings): class Networks(registry.SpaceSeparatedSetOfStrings):
@ -330,7 +330,7 @@ def registerNetwork(name, password='', ssl=False, sasl_username='',
the bot's ident string, if the server doesn't provide one by default. the bot's ident string, if the server doesn't provide one by default.
If empty, defaults to supybot.ident."""))) If empty, defaults to supybot.ident.""")))
registerGlobalValue(network, 'user', registry.String('', _("""Determines registerGlobalValue(network, 'user', registry.String('', _("""Determines
the username the bot sends to the server. If empty, defaults to the real name which the bot sends to the server. If empty, defaults to
supybot.user"""))) supybot.user""")))
registerGlobalValue(network, 'umodes', registerGlobalValue(network, 'umodes',
registry.String('', _("""Determines what user modes the bot will request registry.String('', _("""Determines what user modes the bot will request