* fix to xep 78

This commit is contained in:
Nathan Fritz 2010-01-08 06:06:44 +00:00
parent a8ff3586d3
commit 137ef61523

View file

@ -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 = ''