'server_mechanimsms' -> 'server_mechanisms' typo

This commit is contained in:
jesopo 2019-11-08 10:20:23 +00:00
parent 5dc1ea3ffa
commit 1231067012

View file

@ -157,7 +157,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.908")
def sasl_mechanisms(self, event):
server_mechanisms = event["line"].args[1].split(",")
mechanism = self._best_userpass_mechanism(server_mechanimsms)
mechanism = self._best_userpass_mechanism(server_mechanisms)
event["server"].sasl_mechanism = mechanism
event["server"].send_authenticate(mechanism)