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