print match

This commit is contained in:
reality 2013-06-09 17:39:51 +00:00
parent 024b5a514c
commit a395b17218

View File

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