diff options
Diffstat (limited to '')
-rw-r--r-- | lib/realtime.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/realtime.js b/lib/realtime.js index 64b0044f..c243ffc1 100644 --- a/lib/realtime.js +++ b/lib/realtime.js @@ -767,7 +767,7 @@ function connection(socket) { var note = notes[noteId]; //Only owner can change permission if (note.owner && note.owner == socket.request.user.id) { - if (permission == 'freely' && !config.allowanonmyous) return; + if (permission == 'freely' && !config.allowanonymous) return; note.permission = permission; models.Note.update({ permission: permission @@ -915,4 +915,4 @@ function connection(socket) { }); } -module.exports = realtime;
\ No newline at end of file +module.exports = realtime; |