forked from GitHub/dbot
more thing
This commit is contained in:
parent
2c6729a7f4
commit
70f41df08a
@ -169,6 +169,8 @@ var webInterface = function(dbot) {
|
|||||||
allowedUsers = _.union(allowedUsers, dbot.config.moderators);
|
allowedUsers = _.union(allowedUsers, dbot.config.moderators);
|
||||||
allowedUsers = _.union(allowedUsers, dbot.config.power_users);
|
allowedUsers = _.union(allowedUsers, dbot.config.power_users);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(module.config.webAccess);
|
||||||
console.log(allowedUsers);
|
console.log(allowedUsers);
|
||||||
|
|
||||||
if(_.include(allowedUsers, req.user.primaryNick)) {
|
if(_.include(allowedUsers, req.user.primaryNick)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user