mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 21:22:39 +01:00
Fix commit 30a026a
Requesting multiple capabilities in one message will result in a NAK for all of them if at least one is not supported by the server.
This commit is contained in:
parent
ccea98b428
commit
5653e0c727
@ -962,8 +962,8 @@ class Irc(IrcCommandDispatcher):
|
||||
elif self.sasl_username and self.sasl_password:
|
||||
self.sasl = 'plain'
|
||||
|
||||
self.queueMsg(ircmsgs.IrcMsg(command='CAP', args=('REQ',
|
||||
'account-notify extended-join multi-prefix')))
|
||||
for cap in ('account-notify', 'extended-join', 'multi-prefix'):
|
||||
self.queueMsg(ircmsgs.IrcMsg(command='CAP', args=('REQ', cap)))
|
||||
|
||||
if self.sasl:
|
||||
self.queueMsg(ircmsgs.IrcMsg(command='CAP', args=('REQ', 'sasl')))
|
||||
|
Loading…
Reference in New Issue
Block a user