more thing

This commit is contained in:
reality 2013-07-29 20:36:27 +00:00
parent 2c6729a7f4
commit 70f41df08a

View File

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