From b6a56e23f66485eaa0ced0dcced5f4ff3326ce05 Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 4 Jul 2013 22:29:52 +0000 Subject: [PATCH] fix nickserv auth --- modules/nickserv/nickserv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nickserv/nickserv.js b/modules/nickserv/nickserv.js index 8ca294b..39c38b6 100644 --- a/modules/nickserv/nickserv.js +++ b/modules/nickserv/nickserv.js @@ -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);