expand kwargs in assure_call when we've got a hook
This commit is contained in:
parent
b2259c2ea8
commit
0ff36444d4
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class EventHook(object):
|
||||||
if not self._stored_events == None:
|
if not self._stored_events == None:
|
||||||
self._stored_events.append(kwargs)
|
self._stored_events.append(kwargs)
|
||||||
else:
|
else:
|
||||||
self.call(kwargs)
|
self.call(**kwargs)
|
||||||
def call(self, max=None, **kwargs):
|
def call(self, max=None, **kwargs):
|
||||||
self.bot.log.debug("calling event: \"%s\" (params: %s)",
|
self.bot.log.debug("calling event: \"%s\" (params: %s)",
|
||||||
[self._get_path(), kwargs])
|
[self._get_path(), kwargs])
|
||||||
|
|
Loading…
Reference in a new issue