This commit is contained in:
reality 2013-10-20 16:36:40 +00:00
parent d568562cad
commit e40a10dbdc

View File

@ -13,9 +13,11 @@ var nickserv = function(dbot) {
this.authStack[server][nick] = callback; this.authStack[server][nick] = callback;
dbot.say(server, nickserv, infoCommand + ' ' + nick + ' *'); dbot.say(server, nickserv, infoCommand + ' ' + nick + ' *');
setTimeout(function() { setTimeout(function() {
delete this.authStack[server][nick]; if(_.has(this.userStack[server], nick)) {
callback(false); delete this.authStack[server][nick];
}, 4000) callback(false);
}
}, 4000);
}, },
'getUserHost': function(server, nick, callback) { 'getUserHost': function(server, nick, callback) {