summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/realtime.js2
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;