Fix syntax when use case
This commit is contained in:
parent
89b8ddeaba
commit
be7696170f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue