3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00
This commit is contained in:
reality 2013-07-29 20:33:13 +00:00
parent 13334e3b4d
commit 2c6729a7f4

View File

@ -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();