From 415c6ad1fdd6048971234e3eed0d58f98839a8f4 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Tue, 29 Dec 2015 11:48:33 -0800 Subject: [PATCH] Lint fixes. --- static/hogfather.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/hogfather.js b/static/hogfather.js index b1b8cd4..5abd5cb 100644 --- a/static/hogfather.js +++ b/static/hogfather.js @@ -114,6 +114,7 @@ hogfather.PublicChat.prototype.getID = function() { * @param {Cosmopolite.typeMessage} message * @param {Array.} owners * @param {Array.} writers + * @return {boolean} */ hogfather.PublicChat.prototype.checkMessage_ = function( message, owners, writers) { @@ -136,10 +137,10 @@ hogfather.PublicChat.prototype.checkMessage_ = function( default: console.log('Unknown message type:', message); return false; - }; + } if (acl.indexOf(message.sender) == -1) { - console.log(this.loggingPrefix_(), "message from unauthorized source:", + console.log(this.loggingPrefix_(), 'message from unauthorized source:', message, acl); return false; } else {