This commit is contained in:
Evelyn 2017-11-01 14:27:36 +00:00
parent cfc623cfea
commit 0894d642bb

View file

@ -35,7 +35,7 @@ class Module(object):
if event["subcommand"] == "NAK": if event["subcommand"] == "NAK":
event["server"].send_capability_end() event["server"].send_capability_end()
elif event["subcommand"] == "ACK": elif event["subcommand"] == "ACK":
if not "sasl" in event["capability_list"]: if not "sasl" in event["capabilities"]:
event["server"].send_capability_end() event["server"].send_capability_end()
else: else:
event["server"].send_authenticate("PLAIN") event["server"].send_authenticate("PLAIN")