mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
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