mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +01:00
oh fuck
This commit is contained in:
parent
891812ba36
commit
b54a5a5ccc
@ -17,7 +17,7 @@ var api = function(dbot) {
|
|||||||
callback(false);
|
callback(false);
|
||||||
} else {
|
} else {
|
||||||
if(_.has(dbot.modules, 'nickserv') && this.config.useNickserv == true) {
|
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);
|
callback(result);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user