From fdea22615976db6ed29f8b62311b6baf0ca31d13 Mon Sep 17 00:00:00 2001 From: Florian Rhiem Date: Wed, 21 Dec 2016 14:36:54 +0100 Subject: Fixed typo: anonmyous --- lib/realtime.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/realtime.js') 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; -- cgit v1.2.3