summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0202/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-12 00:22:42 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:20 -0700
commit6497857495d185401426ba31441e3039fb316891 (patch)
tree7465813559a8781cf3f562bdffc3210c1f72fa27 /sleekxmpp/plugins/xep_0202/__init__.py
parent5a324c01de8cbca09609d7176306322bf24df414 (diff)
downloadslixmpp-6497857495d185401426ba31441e3039fb316891.tar.gz
slixmpp-6497857495d185401426ba31441e3039fb316891.tar.bz2
slixmpp-6497857495d185401426ba31441e3039fb316891.tar.xz
slixmpp-6497857495d185401426ba31441e3039fb316891.zip
Move XEP-0202 to new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0202/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0202/__init__.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0202/__init__.py b/sleekxmpp/plugins/xep_0202/__init__.py
index a34b2376..cdab3665 100644
--- a/sleekxmpp/plugins/xep_0202/__init__.py
+++ b/sleekxmpp/plugins/xep_0202/__init__.py
@@ -6,7 +6,15 @@
See the file LICENSE for copying permission.
"""
+from sleekxmpp.plugins.base import register_plugin
from sleekxmpp.plugins.xep_0202 import stanza
from sleekxmpp.plugins.xep_0202.stanza import EntityTime
-from sleekxmpp.plugins.xep_0202.time import xep_0202
+from sleekxmpp.plugins.xep_0202.time import XEP_0202
+
+
+register_plugin(XEP_0202)
+
+
+# Retain some backwards compatibility
+xep_0202 = XEP_0202