3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

unnecessary currentNick

This commit is contained in:
reality 2013-07-26 11:53:30 +00:00
parent ea11ed5ac6
commit 891812ba36

View File

@ -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 {