summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
author蒼時弦也2017-01-10 10:19:18 +0800
committer蒼時弦也2017-01-10 10:19:18 +0800
commitbe7696170fbfb9a0744a1400709479ac2e4c60e7 (patch)
tree64467b30cf0761a2d0ce75e83106f6ee8c1a3861 /lib
parent89b8ddeabae81fd3a8891ce9d8191fbc9e27c83c (diff)
Fix syntax when use case
Diffstat (limited to '')
-rw-r--r--lib/realtime.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/realtime.js b/lib/realtime.js
index b728622f..a3c56c41 100644
--- a/lib/realtime.js
+++ b/lib/realtime.js
@@ -618,7 +618,7 @@ function ifMayEdit(socket, callback) {
case "freely":
//not blocking anyone
break;
- case "editable": case: "limited":
+ case "editable": case "limited":
//only login user can change
if (!socket.request.user || !socket.request.user.logged_in)
mayEdit = false;