aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/privileges.lua
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2019-08-06 19:30:18 +0100
committerGitHub <noreply@github.com>2019-08-06 19:30:18 +0100
commit8e757859d6a6bf6482480904e8485e9344e567ab (patch)
tree3304aa9393a753b85143389c6f6ffec990cfa12e /builtin/game/privileges.lua
parent8da35c22d1c8933090330b2f3c44b4cf2c6e6760 (diff)
downloadhax-minetest-server-8e757859d6a6bf6482480904e8485e9344e567ab.tar.gz
hax-minetest-server-8e757859d6a6bf6482480904e8485e9344e567ab.zip
Add luacheck to check builtin (#7895)
Diffstat (limited to 'builtin/game/privileges.lua')
-rw-r--r--builtin/game/privileges.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/privileges.lua b/builtin/game/privileges.lua
index d77a481ac..c7417d2f4 100644
--- a/builtin/game/privileges.lua
+++ b/builtin/game/privileges.lua
@@ -18,7 +18,7 @@ function core.register_privilege(name, param)
def.description = "(no description)"
end
end
- local def = {}
+ local def
if type(param) == "table" then
def = param
else