diff options
author | 蒼時弦也 | 2017-01-10 10:19:18 +0800 |
---|---|---|
committer | 蒼時弦也 | 2017-01-10 10:19:18 +0800 |
commit | be7696170fbfb9a0744a1400709479ac2e4c60e7 (patch) | |
tree | 64467b30cf0761a2d0ce75e83106f6ee8c1a3861 | |
parent | 89b8ddeabae81fd3a8891ce9d8191fbc9e27c83c (diff) |
Fix syntax when use case
Diffstat (limited to '')
-rw-r--r-- | lib/realtime.js | 2 |
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; |