Listen for 903 for sasl success, not 900

This commit is contained in:
jesopo 2018-09-07 16:13:49 +01:00
parent f317b2d724
commit 208a323d48

View file

@ -7,7 +7,7 @@ class Module(object):
events.on("received.cap.ls").hook(self.on_cap)
events.on("received.cap.ack").hook(self.on_cap_ack)
events.on("received.authenticate").hook(self.on_authenticate)
events.on("received.numeric.900").hook(self.sasl_success)
events.on("received.numeric.903").hook(self.sasl_success)
def preprocess_connect(self, event):
sasl = event["server"].get_setting("sasl")