diff options
-rw-r--r-- | sleekxmpp/plugins/xep_0078.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0078.py b/sleekxmpp/plugins/xep_0078.py index 24afc875..8cce0eb0 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("<auth xmlns='http://jabber.org/features/iq-auth'/>", self.auth) self.streamid = '' |