diff options
Diffstat (limited to 'areas/chatcommands.lua')
-rw-r--r-- | areas/chatcommands.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/areas/chatcommands.lua b/areas/chatcommands.lua index 6079e93..ddff850 100644 --- a/areas/chatcommands.lua +++ b/areas/chatcommands.lua @@ -60,7 +60,7 @@ minetest.register_chatcommand("set_owner", { local id = areas:add(ownerName, areaName, pos1, pos2, nil) areas:save() - + minetest.chat_send_player(ownerName, "You have been granted control over area #".. id..". Type /list_areas to show your areas.") @@ -383,10 +383,10 @@ minetest.register_chatcommand("area_info", { table.insert(lines, ("%s spanning up to %dx%dx%d.") :format(str, size.x, size.y, size.z)) end - local function priv_limit_info(priv, max_count, max_size) + local function priv_limit_info(lpriv, lmax_count, lmax_size) size_info(("Players with the %q privilege".. " can protect up to %d areas"):format( - priv, max_count), max_size) + lpriv, lmax_count), lmax_size) end if self_prot then if privs.areas then |