From 41978815a3c3edf51c663ea3824555a4230dc079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Zugmeyer?= Date: Wed, 16 Jan 2019 15:20:49 +0100 Subject: [PATCH] fix: trigger scoped actions Scoped actions require a uuid field to work, so we should make sure to send it to the child process. Currently, we only send the action name if `opts` are not defined. --- lib/God/ActionMethods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/God/ActionMethods.js b/lib/God/ActionMethods.js index 72495a95..837e0ee6 100644 --- a/lib/God/ActionMethods.js +++ b/lib/God/ActionMethods.js @@ -763,7 +763,7 @@ module.exports = function(God) { /* * Send message */ - if (cmd.opts == null) + if (cmd.opts == null && !cmd.uuid) proc.send(cmd.msg); else proc.send(cmd);