diff --git a/src/irclib.py b/src/irclib.py index 672e033e3..4d2fa3863 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -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