mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
unnecessary currentNick
This commit is contained in:
parent
ea11ed5ac6
commit
891812ba36
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user