mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +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))
|
||||
self.sendMsg(ircmsgs.IrcMsg(command='CAP',
|
||||
args=('REQ', caps)))
|
||||
else:
|
||||
self.sendMsg(ircmsgs.IrcMsg(command='CAP',
|
||||
args=('END',)))
|
||||
else:
|
||||
log.warning('Bad CAP LS from server: %r', msg)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user