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