3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 11:42:36 +01:00

use voice auth on alt nick

This commit is contained in:
reality 2014-01-06 22:36:56 +00:00
parent 62efc4b2b9
commit 8934ebed1d

View File

@ -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) {