aboutsummaryrefslogtreecommitdiffstats
path: root/js/messaging.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/messaging.js')
-rw-r--r--js/messaging.js2
1 files changed, 1 insertions, 1 deletions
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;