From 137ef61523d178a12c08da3f544e81a3135f3cf7 Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Fri, 8 Jan 2010 06:06:44 +0000 Subject: [PATCH] * fix to xep 78 --- sleekxmpp/plugins/xep_0078.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleekxmpp/plugins/xep_0078.py b/sleekxmpp/plugins/xep_0078.py index 24afc87..8cce0eb 100644 --- a/sleekxmpp/plugins/xep_0078.py +++ b/sleekxmpp/plugins/xep_0078.py @@ -31,7 +31,7 @@ class xep_0078(base.base_plugin): def plugin_init(self): self.description = "Non-SASL Authentication (broken)" self.xep = "0078" - self.xmpp.add_start_handler(self.check_stream) + self.xmpp.add_event_handler("session_start", self.check_stream) #disabling until I fix conflict with PLAIN #self.xmpp.registerFeature("", self.auth) self.streamid = ''