From 0d26dd3e2e9bee7f1fccda83c82507a90eb59c64 Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Sun, 20 Sep 2020 20:31:50 +0200 Subject: Fix typo... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jesús --- js/messaging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/messaging.js b/js/messaging.js index 63e1c92..6dd0979 100644 --- a/js/messaging.js +++ b/js/messaging.js @@ -151,7 +151,7 @@ addMethod('setMatrixSwitch', function (request, sender, cb) { ηm.tMatrix.setSwitch(request.switchName, '*', request.state); - if (ηm.pMatrix.setSwitch(request.swtichName, '*', request.state)) { + if (ηm.pMatrix.setSwitch(request.switchName, '*', request.state)) { ηm.saveMatrix(); } return undefined; -- cgit v1.2.3