mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +01:00
fix nickserv auth
This commit is contained in:
parent
6efc01e90a
commit
b6a56e23f6
@ -72,8 +72,8 @@ var nickserv = function(dbot) {
|
||||
|
||||
if(match[1]) match[1] = match[1].replace('\*', '');
|
||||
if(match && _.has(this.userStack, event.server) && _.has(this.userStack[event.server], match[1])) {
|
||||
this.userStack[event.server][match[1]](match[3].trim());
|
||||
delete this.userStack[event.server][match[1]];
|
||||
this.userStack[event.server][match[1]](match[3].trim());
|
||||
}
|
||||
}
|
||||
}.bind(this);
|
||||
|
Loading…
Reference in New Issue
Block a user