summaryrefslogtreecommitdiff
path: root/sleekxmpp/features/feature_starttls/__init__.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-03-12 19:57:20 -0700
committerLance Stout <lancestout@gmail.com>2012-03-12 19:57:20 -0700
commit24ec448b7f29b6eb66818715bdbd30e09fd0ed0b (patch)
tree2a5f66861d9cf792f8b98dd9a4ecf5599ccfaf0f /sleekxmpp/features/feature_starttls/__init__.py
parented5a2f400dc1ac5d6db3242857b1a3ac1c7f72d0 (diff)
downloadslixmpp-24ec448b7f29b6eb66818715bdbd30e09fd0ed0b.tar.gz
slixmpp-24ec448b7f29b6eb66818715bdbd30e09fd0ed0b.tar.bz2
slixmpp-24ec448b7f29b6eb66818715bdbd30e09fd0ed0b.tar.xz
slixmpp-24ec448b7f29b6eb66818715bdbd30e09fd0ed0b.zip
Move feature_starttls to new system.
Diffstat (limited to 'sleekxmpp/features/feature_starttls/__init__.py')
-rw-r--r--sleekxmpp/features/feature_starttls/__init__.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/sleekxmpp/features/feature_starttls/__init__.py b/sleekxmpp/features/feature_starttls/__init__.py
index 4ae89433..68697ce5 100644
--- a/sleekxmpp/features/feature_starttls/__init__.py
+++ b/sleekxmpp/features/feature_starttls/__init__.py
@@ -6,5 +6,14 @@
See the file LICENSE for copying permission.
"""
-from sleekxmpp.features.feature_starttls.starttls import feature_starttls
+from sleekxmpp.plugins.base import register_plugin
+
+from sleekxmpp.features.feature_starttls.starttls import FeatureSTARTTLS
from sleekxmpp.features.feature_starttls.stanza import *
+
+
+register_plugin(FeatureSTARTTLS)
+
+
+# Retain some backwards compatibility
+feature_starttls = FeatureSTARTTLS