some debug output in getUserHost

This commit is contained in:
reality 2013-06-09 17:27:39 +00:00
parent 47e9672b32
commit e22c42f560

View File

@ -39,6 +39,8 @@ var nickserv = function(dbot) {
}
} else if(event.action == '302') {
var match = event.params.match(/:(.*)=([^@]+)@(.+)$/);
console.log(match);
console.log(event.params);
if(match && _.has(this.userStack, event.server) && _.has(this.userStack[event.server], match[1])) {
this.userStack[event.server][match[1]](match[3].trim());
}