Actually check that we don't have CAPs that we're waiting on a ACK/NAK for
before ending CAP negotiation (line_handler.py)
This commit is contained in:
parent
cbbe6f1569
commit
5d51a283bb
1 changed files with 2 additions and 0 deletions
|
@ -320,7 +320,9 @@ class Module(ModuleManager.BaseModule):
|
|||
if subcommand == "ack" or subcommand == "nak":
|
||||
for capability in capabilities:
|
||||
event["server"].requested_capabilities.remove(capability)
|
||||
|
||||
if (event["server"].cap_started and
|
||||
not event["server"].requested_capabilities and
|
||||
not event["server"].waiting_for_capabilities()):
|
||||
event["server"].cap_started = False
|
||||
event["server"].send_capability_end()
|
||||
|
|
Loading…
Reference in a new issue