Fix syntax when use case

This commit is contained in:
蒼時弦也 2017-01-10 10:19:18 +08:00
parent 89b8ddeaba
commit be7696170f

View file

@ -618,7 +618,7 @@ function ifMayEdit(socket, callback) {
case "freely": case "freely":
//not blocking anyone //not blocking anyone
break; break;
case "editable": case: "limited": case "editable": case "limited":
//only login user can change //only login user can change
if (!socket.request.user || !socket.request.user.logged_in) if (!socket.request.user || !socket.request.user.logged_in)
mayEdit = false; mayEdit = false;