generated from your-land/yl_template
Localizes local function
This commit is contained in:
parent
54436d562f
commit
f18532fcdb
@ -123,7 +123,7 @@ local function priv_exists(priv)
|
|||||||
return (minetest.registered_privileges[priv] ~= nil) or false
|
return (minetest.registered_privileges[priv] ~= nil) or false
|
||||||
end
|
end
|
||||||
|
|
||||||
function check_privs()
|
local function check_privs()
|
||||||
for key, value in pairs(yl_announcements.settings) do
|
for key, value in pairs(yl_announcements.settings) do
|
||||||
if ends_with(key, "_privs") then
|
if ends_with(key, "_privs") then
|
||||||
local parts = split(value)
|
local parts = split(value)
|
||||||
|
Loading…
Reference in New Issue
Block a user