From 0ff36444d4074e55a9f3a8e8c96f4dbcd9b57a46 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 28 Aug 2018 15:13:56 +0100 Subject: [PATCH] expand kwargs in assure_call when we've got a hook --- EventManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EventManager.py b/EventManager.py index 33d4aa80..8bd974c4 100644 --- a/EventManager.py +++ b/EventManager.py @@ -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])