Config docs: remove reference to grouped nicks

Some networks (e.g. freenode) now allow usage of grouped nicks for SASL
username
This commit is contained in:
opal hart 2020-02-08 09:44:40 +00:00 committed by Valentin Lorentz
parent 89ee801d47
commit f24a17e5c4
2 changed files with 2 additions and 4 deletions

View File

@ -356,8 +356,7 @@ msgstr ""
#: src/conf.py:415 #: src/conf.py:415
msgid "" msgid ""
"Determines what SASL username will be used on %s. This should\n" "Determines what SASL username will be used on %s. This should\n"
" be the bot's account name. Due to the way SASL works, you can't use\n" " be the bot's account name."
" any grouped nick."
msgstr "" msgstr ""
#: src/conf.py:419 #: src/conf.py:419

View File

@ -409,8 +409,7 @@ def registerNetwork(name, password='', ssl=True, sasl_username='',
sasl = registerGroup(network, 'sasl') sasl = registerGroup(network, 'sasl')
registerGlobalValue(sasl, 'username', registry.String(sasl_username, registerGlobalValue(sasl, 'username', registry.String(sasl_username,
_("""Determines what SASL username will be used on %s. This should _("""Determines what SASL username will be used on %s. This should
be the bot's account name. Due to the way SASL works, you can't use be the bot's account name.""") % name, private=False))
any grouped nick.""") % name, private=False))
registerGlobalValue(sasl, 'password', registry.String(sasl_password, registerGlobalValue(sasl, 'password', registry.String(sasl_password,
_("""Determines what SASL password will be used on %s.""") \ _("""Determines what SASL password will be used on %s.""") \
% name, private=True)) % name, private=True))