summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0078/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-11 22:40:38 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:19 -0700
commit23cc62fe7cf10afed331d9130dad46f14fc6aa42 (patch)
tree79db945b380ab51cb90a17df60a15e3f64419361 /sleekxmpp/plugins/xep_0078/__init__.py
parent26ea67d211d0f70977de55f9f7af8a4d1d8b2819 (diff)
downloadslixmpp-23cc62fe7cf10afed331d9130dad46f14fc6aa42.tar.gz
slixmpp-23cc62fe7cf10afed331d9130dad46f14fc6aa42.tar.bz2
slixmpp-23cc62fe7cf10afed331d9130dad46f14fc6aa42.tar.xz
slixmpp-23cc62fe7cf10afed331d9130dad46f14fc6aa42.zip
Move XEP-0078 to new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0078/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0078/__init__.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0078/__init__.py b/sleekxmpp/plugins/xep_0078/__init__.py
index 5a2bda77..2ea72ffb 100644
--- a/sleekxmpp/plugins/xep_0078/__init__.py
+++ b/sleekxmpp/plugins/xep_0078/__init__.py
@@ -6,7 +6,15 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0078 import stanza
from sleekxmpp.plugins.xep_0078.stanza import IqAuth, AuthFeature
-from sleekxmpp.plugins.xep_0078.legacyauth import xep_0078
+from sleekxmpp.plugins.xep_0078.legacyauth import XEP_0078
+
+
+register_plugin(XEP_0078)
+
+# Retain some backwards compatibility
+xep_0078 = XEP_0078