mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
use voice auth on alt nick
This commit is contained in:
parent
62efc4b2b9
commit
8934ebed1d
@ -28,7 +28,7 @@ var api = function(dbot) {
|
||||
.value());
|
||||
}
|
||||
|
||||
if(!_.include(allowedNicks, user.primaryNick)) {
|
||||
if(!_.include(allowedNicks, user.primaryNick) && !_.include(allowedNicks, user.currentNick)) {
|
||||
callback(false);
|
||||
} else {
|
||||
if(_.has(dbot.modules, 'nickserv') && this.config.useNickserv == true) {
|
||||
|
Loading…
Reference in New Issue
Block a user