summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0066/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-11 22:08:19 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:19 -0700
commit4a3a9067d448b2fc328c4db53ff82c503517cf93 (patch)
tree3116baf6054e4e5f942114fa7b34e822752393d0 /sleekxmpp/plugins/xep_0066/__init__.py
parent1aecb2293aec9473c99e0efec4dad562ec1f23d3 (diff)
downloadslixmpp-4a3a9067d448b2fc328c4db53ff82c503517cf93.tar.gz
slixmpp-4a3a9067d448b2fc328c4db53ff82c503517cf93.tar.bz2
slixmpp-4a3a9067d448b2fc328c4db53ff82c503517cf93.tar.xz
slixmpp-4a3a9067d448b2fc328c4db53ff82c503517cf93.zip
Move XEP-0066 to new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0066/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0066/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0066/__init__.py b/sleekxmpp/plugins/xep_0066/__init__.py
index ebfbd0c2..68a50180 100644
--- a/sleekxmpp/plugins/xep_0066/__init__.py
+++ b/sleekxmpp/plugins/xep_0066/__init__.py
@@ -6,6 +6,15 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
+
from sleekxmpp.plugins.xep_0066 import stanza
from sleekxmpp.plugins.xep_0066.stanza import OOB, OOBTransfer
-from sleekxmpp.plugins.xep_0066.oob import xep_0066
+from sleekxmpp.plugins.xep_0066.oob import XEP_0066
+
+
+register_plugin(XEP_0066)
+
+
+# Retain some backwards compatibility
+xep_0066 = XEP_0066