3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 04:02:39 +01:00

fix nickserv auth

This commit is contained in:
reality 2013-07-04 22:29:52 +00:00
parent 6efc01e90a
commit b6a56e23f6

View File

@ -72,8 +72,8 @@ var nickserv = function(dbot) {
if(match[1]) match[1] = match[1].replace('\*', ''); if(match[1]) match[1] = match[1].replace('\*', '');
if(match && _.has(this.userStack, event.server) && _.has(this.userStack[event.server], match[1])) { 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]]; delete this.userStack[event.server][match[1]];
this.userStack[event.server][match[1]](match[3].trim());
} }
} }
}.bind(this); }.bind(this);