summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0092/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-11 23:07:40 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:19 -0700
commit2305cc61fd8134013cfe8ec4945ca743759bcf5f (patch)
tree98eb38822d534019ab56d0bb63e71fb6a254c902 /sleekxmpp/plugins/xep_0092/__init__.py
parent2f677c98f8d4ba5ab7e358ba751d5d376dba5484 (diff)
downloadslixmpp-2305cc61fd8134013cfe8ec4945ca743759bcf5f.tar.gz
slixmpp-2305cc61fd8134013cfe8ec4945ca743759bcf5f.tar.bz2
slixmpp-2305cc61fd8134013cfe8ec4945ca743759bcf5f.tar.xz
slixmpp-2305cc61fd8134013cfe8ec4945ca743759bcf5f.zip
Move XEP-0092 to new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0092/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0092/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0092/__init__.py b/sleekxmpp/plugins/xep_0092/__init__.py
index 7c5bdb76..293eaae6 100644
--- a/sleekxmpp/plugins/xep_0092/__init__.py
+++ b/sleekxmpp/plugins/xep_0092/__init__.py
@@ -6,6 +6,15 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0092 import stanza
from sleekxmpp.plugins.xep_0092.stanza import Version
-from sleekxmpp.plugins.xep_0092.version import xep_0092
+from sleekxmpp.plugins.xep_0092.version import XEP_0092
+
+
+register_plugin(XEP_0092)
+
+
+# Retain some backwards compatibility
+xep_0092 = XEP_0092