forked from GitHub/dbot
concerning
This commit is contained in:
parent
89384492d1
commit
6fc93344a8
@ -302,8 +302,8 @@ var commands = function(dbot) {
|
|||||||
if(host) {
|
if(host) {
|
||||||
var results = [];
|
var results = [];
|
||||||
this.db.scan('notifies', function(notify) {
|
this.db.scan('notifies', function(notify) {
|
||||||
|
event.reply(notify.host);
|
||||||
if(notify && _.has(notify, 'host') && notify.host === host) {
|
if(notify && _.has(notify, 'host') && notify.host === host) {
|
||||||
event.reply('found');
|
|
||||||
results.push(notify.message);
|
results.push(notify.message);
|
||||||
}
|
}
|
||||||
}, function() {
|
}, function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user