Remove extra logging statement, add backward compatible references.
This commit is contained in:
parent
f8f2b541db
commit
8b2023225c
4 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -118,4 +118,5 @@ class XEP_0012(BasePlugin):
|
|||
return result['last_activity']['seconds']
|
||||
|
||||
|
||||
xep_0012 = XEP_0012
|
||||
register_plugin(XEP_0012)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -382,4 +382,5 @@ class XEP_0045(BasePlugin):
|
|||
return self.rooms[room].keys()
|
||||
|
||||
|
||||
xep_0045 = XEP_0045
|
||||
register_plugin(XEP_0045)
|
||||
|
|
Loading…
Reference in a new issue