Fix signature of init_plugins() function

This commit is contained in:
Florent Le Coz 2014-07-21 17:50:29 +02:00
parent c2f6f07776
commit 4328762076

View file

@ -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'):