summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0009/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-11 22:27:40 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:19 -0700
commitd104a5fe75dfee29768542a395cdd6958b331ed8 (patch)
treed4f114f07ca962c40e65b4103b18303fa030d5ac /sleekxmpp/plugins/xep_0009/__init__.py
parentcdd69c68426c50bff9d11ee3380821e86196b1e2 (diff)
downloadslixmpp-d104a5fe75dfee29768542a395cdd6958b331ed8.tar.gz
slixmpp-d104a5fe75dfee29768542a395cdd6958b331ed8.tar.bz2
slixmpp-d104a5fe75dfee29768542a395cdd6958b331ed8.tar.xz
slixmpp-d104a5fe75dfee29768542a395cdd6958b331ed8.zip
Move XEP-0009 to new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0009/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0009/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0009/__init__.py b/sleekxmpp/plugins/xep_0009/__init__.py
index 2cd14170..0ce3cf2c 100644
--- a/sleekxmpp/plugins/xep_0009/__init__.py
+++ b/sleekxmpp/plugins/xep_0009/__init__.py
@@ -6,6 +6,15 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0009 import stanza
-from sleekxmpp.plugins.xep_0009.rpc import xep_0009
+from sleekxmpp.plugins.xep_0009.rpc import XEP_0009
from sleekxmpp.plugins.xep_0009.stanza import RPCQuery, MethodCall, MethodResponse
+
+
+register_plugin(XEP_0009)
+
+
+# Retain some backwards compatibility
+xep_0009 = XEP_0009