Commit 43287620 authored by louiz’'s avatar louiz’
Browse files

Fix signature of init_plugins() function

parent c2f6f077
......@@ -213,7 +213,7 @@ class BaseXMPP(XMLStream):
log.warning('Legacy XMPP 0.9 protocol detected.')
self.event('legacy_protocol')
def init_plugins(self, *args, **kwargs):
def init_plugins(self):
for name in self.plugin:
if not hasattr(self.plugin[name], 'post_inited'):
if hasattr(self.plugin[name], 'post_init'):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment