mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
remove trailing *
This commit is contained in:
parent
e22c42f560
commit
ec73da976e
@ -38,9 +38,8 @@ var nickserv = function(dbot) {
|
||||
}
|
||||
}
|
||||
} else if(event.action == '302') {
|
||||
var match = event.params.match(/:(.*)=([^@]+)@(.+)$/);
|
||||
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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user