concerning

This commit is contained in:
reality 2015-03-14 09:43:34 +00:00
parent c779721d52
commit fb61ce21a5

View File

@ -298,8 +298,10 @@ var commands = function(dbot) {
'~concerning': function(event) { '~concerning': function(event) {
var nick = event.params[1].trim(); var nick = event.params[1].trim();
event.reply('starting');
dbot.api.nickserv.getUserHost(event.server, nick, function(host) { dbot.api.nickserv.getUserHost(event.server, nick, function(host) {
if(host) { if(host) {
event.reply('got host');
var results = []; var results = [];
this.db.scan('notifies', function(notify) { this.db.scan('notifies', function(notify) {
if(notify && notify.host === host) { if(notify && notify.host === host) {