summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sleekxmpp/plugins/base.py2
-rw-r--r--sleekxmpp/plugins/xep_0012.py1
-rw-r--r--sleekxmpp/plugins/xep_0033.py1
-rw-r--r--sleekxmpp/plugins/xep_0045.py1
4 files changed, 3 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/base.py b/sleekxmpp/plugins/base.py
index bc0504ea..d1fb26a0 100644
--- a/sleekxmpp/plugins/base.py
+++ b/sleekxmpp/plugins/base.py
@@ -90,8 +90,6 @@ def load_plugin(name, module=None):
if not hasattr(plugin, 'name'):
plugin.name = name
register_plugin(plugin, name)
- else:
- log.debug("%s does not have %s", mod, name)
except:
log.exception("Unable to load plugin: %s", name)
diff --git a/sleekxmpp/plugins/xep_0012.py b/sleekxmpp/plugins/xep_0012.py
index 123181cf..01fb60a8 100644
--- a/sleekxmpp/plugins/xep_0012.py
+++ b/sleekxmpp/plugins/xep_0012.py
@@ -118,4 +118,5 @@ class XEP_0012(BasePlugin):
return result['last_activity']['seconds']
+xep_0012 = XEP_0012
register_plugin(XEP_0012)
diff --git a/sleekxmpp/plugins/xep_0033.py b/sleekxmpp/plugins/xep_0033.py
index 6fbb9bd0..feef5a13 100644
--- a/sleekxmpp/plugins/xep_0033.py
+++ b/sleekxmpp/plugins/xep_0033.py
@@ -163,4 +163,5 @@ class XEP_0033(BasePlugin):
self.xmpp.plugin['xep_0030'].add_feature(Addresses.namespace)
+xep_0033 = XEP_0033
register_plugin(XEP_0033)
diff --git a/sleekxmpp/plugins/xep_0045.py b/sleekxmpp/plugins/xep_0045.py
index 8d694960..5035faae 100644
--- a/sleekxmpp/plugins/xep_0045.py
+++ b/sleekxmpp/plugins/xep_0045.py
@@ -382,4 +382,5 @@ class XEP_0045(BasePlugin):
return self.rooms[room].keys()
+xep_0045 = XEP_0045
register_plugin(XEP_0045)