aboutsummaryrefslogtreecommitdiff
path: root/IRCLineHandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'IRCLineHandler.py')
-rw-r--r--IRCLineHandler.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/IRCLineHandler.py b/IRCLineHandler.py
index e5aa2e1e..082aa884 100644
--- a/IRCLineHandler.py
+++ b/IRCLineHandler.py
@@ -283,9 +283,12 @@ class LineHandler(object):
event["server"].send_capability_queue()
else:
event["server"].send_capability_end()
- elif subcommand == "ack" or subcommand == "nack":
+ elif subcommand == "ack":
if not event["server"].waiting_for_capabilities():
event["server"].send_capability_end()
+ event["server"].capabilities = set(capabilities)
+ elif subcommand == "ack" or subcommand == "nack":
+ event["server"].send_capability_end()
# the server is asking for authentication
def authenticate(self, event):