Exempt server owner from checks

This commit is contained in:
ShadowNinja 2014-10-14 14:37:34 -04:00
parent 325aed0072
commit edecfee654

View File

@ -13,7 +13,9 @@ for _, allowed_name in pairs(temp) do
exemptions[allowed_name] = true
end
temp = nil
-- Exempt server owner
exemptions[minetest.setting_get("name")] = true
exemptions["singleplayer"] = true
---------------------
-- Simple matching --