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;
dbot.say(server, nickserv, infoCommand + ' ' + nick + ' *');
setTimeout(function() {
delete this.authStack[server][nick];
callback(false);
}, 4000)
if(_.has(this.userStack[server], nick)) {
delete this.authStack[server][nick];
callback(false);
}
}, 4000);
},
'getUserHost': function(server, nick, callback) {