-- Don't edit anything below unless you know what you are doing.

server = nil
service = nil
return function()
	for _,command in pairs(server.Commands) do
		if command.AdminLevel then
			local changed = false
			for _,actualCommandName in pairs(command.Commands) do
				if permissions[actualCommandName] then
					changed = true
					command.AdminLevel = permissions[actualCommandName]
				end
			end
			if not changed then command.AdminLevel = defaultLevel end
		end
	end
end
