summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0050/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-11 21:20:05 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:19 -0700
commitad8fd91b7ac1a111b4f54991a2f7544fcca315aa (patch)
tree01b08f0c0172146e6675dc90b7cab654081610ce /sleekxmpp/plugins/xep_0050/__init__.py
parent1f5a3a444521e67afc7036cfd8f8e98fee982141 (diff)
downloadslixmpp-ad8fd91b7ac1a111b4f54991a2f7544fcca315aa.tar.gz
slixmpp-ad8fd91b7ac1a111b4f54991a2f7544fcca315aa.tar.bz2
slixmpp-ad8fd91b7ac1a111b4f54991a2f7544fcca315aa.tar.xz
slixmpp-ad8fd91b7ac1a111b4f54991a2f7544fcca315aa.zip
Move XEP-0050 to new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0050/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0050/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0050/__init__.py b/sleekxmpp/plugins/xep_0050/__init__.py
index 99f44f2a..640b182d 100644
--- a/sleekxmpp/plugins/xep_0050/__init__.py
+++ b/sleekxmpp/plugins/xep_0050/__init__.py
@@ -6,5 +6,14 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0050.stanza import Command
-from sleekxmpp.plugins.xep_0050.adhoc import xep_0050
+from sleekxmpp.plugins.xep_0050.adhoc import XEP_0050
+
+
+register_plugin(XEP_0050)
+
+
+# Retain some backwards compatibility
+xep_0050 = XEP_0050