mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49: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.moderators);
|
||||||
allowedUsers = _.union(allowedUsers, dbot.config.power_users);
|
allowedUsers = _.union(allowedUsers, dbot.config.power_users);
|
||||||
}
|
}
|
||||||
|
console.log(allowedUsers);
|
||||||
|
|
||||||
if(_.include(allowedUsers, req.user.primaryNick)) {
|
if(_.include(allowedUsers, req.user.primaryNick)) {
|
||||||
return next();
|
return next();
|
||||||
|
Loading…
Reference in New Issue
Block a user