irclib: Request draft/account-registration

Servers might reject the REGISTER command if it's not ACKed.
This commit is contained in:
Valentin Lorentz 2021-11-17 23:26:06 +01:00
parent 5aefd6395f
commit 2236c7552a

View File

@ -1759,7 +1759,8 @@ class Irc(IrcCommandDispatcher, log.Firewalled):
To check if a capability was negotiated, use `irc.state.capabilities_ack`.
"""
REQUEST_EXPERIMENTAL_CAPABILITIES = set(['draft/multiline'])
REQUEST_EXPERIMENTAL_CAPABILITIES = set(['draft/account-registration',
'draft/multiline'])
"""Like REQUEST_CAPABILITIES, but these capabilities are only requested
if supybot.protocols.irc.experimentalExtensions is enabled."""