summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0077/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-11 22:15:25 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:19 -0700
commitcdd69c68426c50bff9d11ee3380821e86196b1e2 (patch)
treef32c8f7ff0d30f68286a5ad6095c9afe1c508300 /sleekxmpp/plugins/xep_0077/__init__.py
parent4a3a9067d448b2fc328c4db53ff82c503517cf93 (diff)
downloadslixmpp-cdd69c68426c50bff9d11ee3380821e86196b1e2.tar.gz
slixmpp-cdd69c68426c50bff9d11ee3380821e86196b1e2.tar.bz2
slixmpp-cdd69c68426c50bff9d11ee3380821e86196b1e2.tar.xz
slixmpp-cdd69c68426c50bff9d11ee3380821e86196b1e2.zip
Move XEP-0077 to the new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0077/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0077/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0077/__init__.py b/sleekxmpp/plugins/xep_0077/__init__.py
index e556aa93..779ae0ac 100644
--- a/sleekxmpp/plugins/xep_0077/__init__.py
+++ b/sleekxmpp/plugins/xep_0077/__init__.py
@@ -6,5 +6,14 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0077.stanza import Register, RegisterFeature
-from sleekxmpp.plugins.xep_0077.register import xep_0077
+from sleekxmpp.plugins.xep_0077.register import XEP_0077
+
+
+register_plugin(XEP_0077)
+
+
+# Retain some backwards compatibility
+xep_0077 = XEP_0077