forked from GitHub/dbot
concerning
This commit is contained in:
parent
c779721d52
commit
fb61ce21a5
@ -298,8 +298,10 @@ var commands = function(dbot) {
|
||||
|
||||
'~concerning': function(event) {
|
||||
var nick = event.params[1].trim();
|
||||
event.reply('starting');
|
||||
dbot.api.nickserv.getUserHost(event.server, nick, function(host) {
|
||||
if(host) {
|
||||
event.reply('got host');
|
||||
var results = [];
|
||||
this.db.scan('notifies', function(notify) {
|
||||
if(notify && notify.host === host) {
|
||||
|
Loading…
Reference in New Issue
Block a user