1 Commits

2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ dofile(minetest.get_modpath("more_chests").."/models/secret.lua")
dofile(minetest.get_modpath("more_chests").."/models/shared.lua")
dofile(minetest.get_modpath("more_chests").."/models/toolbox.lua")
dofile(minetest.get_modpath("more_chests").."/models/wifi.lua")
dofile(minetest.get_modpath("more_chests").."/utils/aliases.lua")
minetest.log("action", "[more_chests] loaded.")
print ("[MOD] more_chests loaded")

View File

@ -25,7 +25,7 @@ local function check_privs(meta, player)
local shared = " " .. meta:get_string("shared") .. " "
if name == meta:get_string("owner") then
return true
elseif shared:find(" " .. name .. " ") then
elseif shared:find(" " .. name .. " ", 1, true) then
return true
else
return false