aboutsummaryrefslogtreecommitdiff
path: root/IRCLineHandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'IRCLineHandler.py')
-rw-r--r--IRCLineHandler.py3
1 files changed, 3 insertions, 0 deletions
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):