Cleanup logging when loading a custom plugin.
This commit is contained in:
parent
fdfe2cd64f
commit
d41ada6b66
@ -226,7 +226,7 @@ class BaseXMPP(XMLStream):
|
|||||||
self.plugin[plugin] = getattr(module, plugin)(self, pconfig)
|
self.plugin[plugin] = getattr(module, plugin)(self, pconfig)
|
||||||
|
|
||||||
# Let XEP/RFC implementing plugins have some extra logging info.
|
# Let XEP/RFC implementing plugins have some extra logging info.
|
||||||
spec = '(CUSTOM) %s'
|
spec = '(CUSTOM) '
|
||||||
if self.plugin[plugin].xep:
|
if self.plugin[plugin].xep:
|
||||||
spec = "(XEP-%s) " % self.plugin[plugin].xep
|
spec = "(XEP-%s) " % self.plugin[plugin].xep
|
||||||
elif self.plugin[plugin].rfc:
|
elif self.plugin[plugin].rfc:
|
||||||
|
Loading…
Reference in New Issue
Block a user