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":
//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;