From 4aa2c05989645f718a5659fd6ac9e281462fe648 Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 14 Mar 2015 09:52:51 +0000 Subject: [PATCH] concerning --- modules/report/commands.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/report/commands.js b/modules/report/commands.js index 63569fa..bc1cb8a 100644 --- a/modules/report/commands.js +++ b/modules/report/commands.js @@ -302,10 +302,7 @@ var commands = function(dbot) { if(host) { var results = []; this.db.scan('notifies', function(notify) { - event.reply(notify); - if(notify && _.has(notify, 'host') && notify.host === host) { - results.push(notify.message); - } + console.log(notify); }, function() { event.reply(nick + ' has sought help ' + result.length + ' times under the host ' + notify.host); _.each(results, function(n) {