From 891812ba369a4aa474383cc559434d33d44b0165 Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 26 Jul 2013 11:53:30 +0000 Subject: [PATCH] unnecessary currentNick --- modules/command/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/command/api.js b/modules/command/api.js index c68d716..88f03af 100644 --- a/modules/command/api.js +++ b/modules/command/api.js @@ -17,7 +17,7 @@ var api = function(dbot) { callback(false); } else { if(_.has(dbot.modules, 'nickserv') && this.config.useNickserv == true) { - dbot.api.nickserv.auth(user.server, user.currentNick, function(result) { + dbot.api.nickserv.auth(user.server, user, function(result) { callback(result); }); } else {