summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0078.py
diff options
context:
space:
mode:
authorNathan Fritz <fritzy@netflint.net>2010-01-08 06:06:44 +0000
committerNathan Fritz <fritzy@netflint.net>2010-01-08 06:06:44 +0000
commit137ef61523d178a12c08da3f544e81a3135f3cf7 (patch)
tree5b73cbef19286a718311c958e582939e0495b7cd /sleekxmpp/plugins/xep_0078.py
parenta8ff3586d3852fc70b1932a579cf8a28ce920d5c (diff)
downloadslixmpp-137ef61523d178a12c08da3f544e81a3135f3cf7.tar.gz
slixmpp-137ef61523d178a12c08da3f544e81a3135f3cf7.tar.bz2
slixmpp-137ef61523d178a12c08da3f544e81a3135f3cf7.tar.xz
slixmpp-137ef61523d178a12c08da3f544e81a3135f3cf7.zip
* fix to xep 78
Diffstat (limited to 'sleekxmpp/plugins/xep_0078.py')
-rw-r--r--sleekxmpp/plugins/xep_0078.py2
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 = ''