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":
|
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;
|
||||||
|
|
Loading…
Reference in a new issue