mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Also send CAP END if no capability is requested.
This commit is contained in:
parent
f86e25d9fb
commit
aa13ac88ea
@ -1095,6 +1095,9 @@ class Irc(IrcCommandDispatcher, log.Firewalled):
|
|||||||
caps = ' '.join(sorted(common_supported_capabilities))
|
caps = ' '.join(sorted(common_supported_capabilities))
|
||||||
self.sendMsg(ircmsgs.IrcMsg(command='CAP',
|
self.sendMsg(ircmsgs.IrcMsg(command='CAP',
|
||||||
args=('REQ', caps)))
|
args=('REQ', caps)))
|
||||||
|
else:
|
||||||
|
self.sendMsg(ircmsgs.IrcMsg(command='CAP',
|
||||||
|
args=('END',)))
|
||||||
else:
|
else:
|
||||||
log.warning('Bad CAP LS from server: %r', msg)
|
log.warning('Bad CAP LS from server: %r', msg)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user