3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-28 21:52:38 +01:00
This commit is contained in:
reality 2013-07-26 11:54:39 +00:00
parent 891812ba36
commit b54a5a5ccc

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, function(result) {
dbot.api.nickserv.auth(user.server, user.currentNick, function(result) {
callback(result);
});
} else {