diff --git a/sat/plugins/plugin_sec_otr.py b/sat/plugins/plugin_sec_otr.py index 7df4d509..138e2f98 100644 --- a/sat/plugins/plugin_sec_otr.py +++ b/sat/plugins/plugin_sec_otr.py @@ -368,7 +368,7 @@ class OTR(object): self.skipped_profiles.add(profile) @defer.inlineCallbacks - def profileConnected(self, client): + def profileConnecting(self, client): if client.profile in self.skipped_profiles: return ctxMng = client._otr_context_manager = ContextManager(self, client)