From b54a5a5ccc8f911e6a0de60ad582a9a558cde1fb Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 26 Jul 2013 11:54:39 +0000 Subject: [PATCH] oh fuck --- 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 88f03af..c68d716 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, function(result) { + dbot.api.nickserv.auth(user.server, user.currentNick, function(result) { callback(result); }); } else {