forked from GitHub/dbot
print match
This commit is contained in:
parent
024b5a514c
commit
a395b17218
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user