summaryrefslogtreecommitdiff
path: root/sleekxmpp/features/feature_bind/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-12 19:41:49 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:49:43 -0700
commit8d38fb511b80c6a8d88f6710283698fca7e05020 (patch)
treec7b7519f40352f1d7298316832018ced13430803 /sleekxmpp/features/feature_bind/__init__.py
parent5a2cbbb731eb3efd15f095789eefed5a4b05b532 (diff)
downloadslixmpp-8d38fb511b80c6a8d88f6710283698fca7e05020.tar.gz
slixmpp-8d38fb511b80c6a8d88f6710283698fca7e05020.tar.bz2
slixmpp-8d38fb511b80c6a8d88f6710283698fca7e05020.tar.xz
slixmpp-8d38fb511b80c6a8d88f6710283698fca7e05020.zip
Move feature_bind to new system.
Diffstat (limited to 'sleekxmpp/features/feature_bind/__init__.py')
-rw-r--r--sleekxmpp/features/feature_bind/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/features/feature_bind/__init__.py b/sleekxmpp/features/feature_bind/__init__.py
index aa854f87..9e0831dd 100644
--- a/sleekxmpp/features/feature_bind/__init__.py
+++ b/sleekxmpp/features/feature_bind/__init__.py
@@ -6,5 +6,14 @@
See the file LICENSE for copying permission.
"""
-from sleekxmpp.features.feature_bind.bind import feature_bind
+from sleekxmpp.plugins.base import register_plugin
+
+from sleekxmpp.features.feature_bind.bind import FeatureBind
from sleekxmpp.features.feature_bind.stanza import Bind
+
+
+register_plugin(FeatureBind)
+
+
+# Retain some backwards compatibility
+feature_bind = FeatureBind