summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0047/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-11 21:15:01 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:19 -0700
commit1f5a3a444521e67afc7036cfd8f8e98fee982141 (patch)
tree9ae162795ed3e85fb22f48aabab7a6cc8d0d2d91 /sleekxmpp/plugins/xep_0047/__init__.py
parentbe363e0b46681125a54e2d96f70c0c259216fee1 (diff)
downloadslixmpp-1f5a3a444521e67afc7036cfd8f8e98fee982141.tar.gz
slixmpp-1f5a3a444521e67afc7036cfd8f8e98fee982141.tar.bz2
slixmpp-1f5a3a444521e67afc7036cfd8f8e98fee982141.tar.xz
slixmpp-1f5a3a444521e67afc7036cfd8f8e98fee982141.zip
Move XEP-0047 to new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0047/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0047/__init__.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0047/__init__.py b/sleekxmpp/plugins/xep_0047/__init__.py
index 5a6487cc..5cd7df2e 100644
--- a/sleekxmpp/plugins/xep_0047/__init__.py
+++ b/sleekxmpp/plugins/xep_0047/__init__.py
@@ -6,8 +6,16 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0047 import stanza
from sleekxmpp.plugins.xep_0047.stanza import Open, Close, Data
from sleekxmpp.plugins.xep_0047.stream import IBBytestream
-from sleekxmpp.plugins.xep_0047.ibb import xep_0047
+from sleekxmpp.plugins.xep_0047.ibb import XEP_0047
+
+
+register_plugin(XEP_0047)
+
+# Retain some backwards compatibility
+xep_0047 = XEP_0047