From 0f578b1ec1886eb4f40cf71db23253466ae28e59 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 3 Sep 2018 11:18:20 +0100 Subject: Send CAP END when we're not waiting for any capability handshakes --- IRCLineHandler.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'IRCLineHandler.py') diff --git a/IRCLineHandler.py b/IRCLineHandler.py index d8958795..b995a0af 100644 --- a/IRCLineHandler.py +++ b/IRCLineHandler.py @@ -267,6 +267,9 @@ class LineHandler(object): event["server"].send_capability_queue() else: event["server"].send_capability_end() + elif subcommand == "ack" or subcommand == "nack": + if not event["server"].waiting_for_capabilities(): + event["server"].send_capability_end() # the server is asking for authentication def authenticate(self, event): -- cgit v1.3.1-10-gc9f91