Cleanup logging when loading a custom plugin.

This commit is contained in:
Lance Stout 2012-03-05 11:30:36 -08:00
parent fdfe2cd64f
commit d41ada6b66

View file

@ -226,7 +226,7 @@ class BaseXMPP(XMLStream):
self.plugin[plugin] = getattr(module, plugin)(self, pconfig)
# Let XEP/RFC implementing plugins have some extra logging info.
spec = '(CUSTOM) %s'
spec = '(CUSTOM) '
if self.plugin[plugin].xep:
spec = "(XEP-%s) " % self.plugin[plugin].xep
elif self.plugin[plugin].rfc: