summaryrefslogtreecommitdiff
path: root/lib/realtime.js
diff options
context:
space:
mode:
authorFlorian Rhiem2016-12-21 14:36:54 +0100
committerFlorian Rhiem2016-12-21 14:36:54 +0100
commitfdea22615976db6ed29f8b62311b6baf0ca31d13 (patch)
treee39ee4a3588f38aabe7222dfb96fb3278caed0f8 /lib/realtime.js
parent11d6b24561d75ac06809b47cac8bc28c18b7c467 (diff)
Fixed typo: anonmyous
Diffstat (limited to 'lib/realtime.js')
-rw-r--r--lib/realtime.js4
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;