aboutsummaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-26 11:04:41 +0100
committerGravatar jesopo2019-06-26 11:04:41 +0100
commitd2a1763dc8c30b936be6fd407c06288c61ec867d (patch)
tree4bc40e02a1a4f12629f85b08d398922966a0e6fb /modules/commands
parentRefactor EventManager to only hold hooks on a root object (diff)
signature
'call_unsafe_for_result' -> 'call_for_result_unsafe'
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py
index c7d0ace0..46f79ab3 100644
--- a/modules/commands/__init__.py
+++ b/modules/commands/__init__.py
@@ -127,7 +127,7 @@ class Module(ModuleManager.BaseModule):
returns = []
if requests:
for request, request_args in requests:
- returns.append(event_hook.on(request).call_unsafe_for_result(
+ returns.append(event_hook.on(request).call_for_result_unsafe(
**kwargs, request_args=request_args))
else:
returns = event_hook.call_unsafe(**kwargs)