expand kwargs in assure_call when we've got a hook

This commit is contained in:
jesopo 2018-08-28 15:13:56 +01:00
parent b2259c2ea8
commit 0ff36444d4

View file

@ -102,7 +102,7 @@ class EventHook(object):
if not self._stored_events == None:
self._stored_events.append(kwargs)
else:
self.call(kwargs)
self.call(**kwargs)
def call(self, max=None, **kwargs):
self.bot.log.debug("calling event: \"%s\" (params: %s)",
[self._get_path(), kwargs])