summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0060/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-11 21:37:13 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:32:19 -0700
commit1aecb2293aec9473c99e0efec4dad562ec1f23d3 (patch)
treefe2f8baa49dd6222bd5b9e44d4c212750dfc5a67 /sleekxmpp/plugins/xep_0060/__init__.py
parentad8fd91b7ac1a111b4f54991a2f7544fcca315aa (diff)
downloadslixmpp-1aecb2293aec9473c99e0efec4dad562ec1f23d3.tar.gz
slixmpp-1aecb2293aec9473c99e0efec4dad562ec1f23d3.tar.bz2
slixmpp-1aecb2293aec9473c99e0efec4dad562ec1f23d3.tar.xz
slixmpp-1aecb2293aec9473c99e0efec4dad562ec1f23d3.zip
Move XEP-0060 to new system.
Diffstat (limited to 'sleekxmpp/plugins/xep_0060/__init__.py')
-rw-r--r--sleekxmpp/plugins/xep_0060/__init__.py19
1 files changed, 18 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0060/__init__.py b/sleekxmpp/plugins/xep_0060/__init__.py
index 026f7c2b..86e2f472 100644
--- a/sleekxmpp/plugins/xep_0060/__init__.py
+++ b/sleekxmpp/plugins/xep_0060/__init__.py
@@ -1,2 +1,19 @@
-from sleekxmpp.plugins.xep_0060.pubsub import xep_0060
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2011 Nathanael C. Fritz, Lance J.T. Stout
+ This file is part of SleekXMPP.
+
+ See the file LICENSE for copying permission.
+"""
+
+from sleekxmpp.plugins.base import register_plugin
+
+from sleekxmpp.plugins.xep_0060.pubsub import XEP_0060
from sleekxmpp.plugins.xep_0060 import stanza
+
+
+register_plugin(XEP_0060)
+
+
+# Retain some backwards compatibility
+xep_0060 = XEP_0060