mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
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