forked from GitHub/dbot
oh fuck
This commit is contained in:
parent
891812ba36
commit
b54a5a5ccc
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user