forked from GitHub/dbot
use voice auth on alt nick
This commit is contained in:
parent
62efc4b2b9
commit
8934ebed1d
@ -28,7 +28,7 @@ var api = function(dbot) {
|
|||||||
.value());
|
.value());
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!_.include(allowedNicks, user.primaryNick)) {
|
if(!_.include(allowedNicks, user.primaryNick) && !_.include(allowedNicks, user.currentNick)) {
|
||||||
callback(false);
|
callback(false);
|
||||||
} else {
|
} else {
|
||||||
if(_.has(dbot.modules, 'nickserv') && this.config.useNickserv == true) {
|
if(_.has(dbot.modules, 'nickserv') && this.config.useNickserv == true) {
|
||||||
|
Loading…
Reference in New Issue
Block a user