diff --git a/modules/nickserv/nickserv.js b/modules/nickserv/nickserv.js index 6306152..7c4c207 100644 --- a/modules/nickserv/nickserv.js +++ b/modules/nickserv/nickserv.js @@ -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()); }