summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0249/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-12 00:36:48 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:20 -0700
commit64c46562d3dce376fe7c6a1462328531d4661960 (patch)
tree85267c098ae116018c996ca13825069d94d7786b /sleekxmpp/plugins/xep_0249/__init__.py
parent87d6ade06d0c51245e2dc4292f5dfb802f98d453 (diff)
downloadslixmpp-64c46562d3dce376fe7c6a1462328531d4661960.tar.gz
slixmpp-64c46562d3dce376fe7c6a1462328531d4661960.tar.bz2
slixmpp-64c46562d3dce376fe7c6a1462328531d4661960.tar.xz
slixmpp-64c46562d3dce376fe7c6a1462328531d4661960.zip
Move XEP-0249 to the new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0249/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0249/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0249/__init__.py b/sleekxmpp/plugins/xep_0249/__init__.py
index e88d87ac..b85f55ce 100644
--- a/sleekxmpp/plugins/xep_0249/__init__.py
+++ b/sleekxmpp/plugins/xep_0249/__init__.py
@@ -6,5 +6,14 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0249.stanza import Invite
-from sleekxmpp.plugins.xep_0249.invite import xep_0249
+from sleekxmpp.plugins.xep_0249.invite import XEP_0249
+
+
+register_plugin(XEP_0249)
+
+
+# Retain some backwards compatibility
+xep_0249 = XEP_0249