From 9f534e9f625ebd01e2ddc22deff615e13a8fbe27 Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Sun, 15 Sep 2024 02:33:23 +0200 Subject: [PATCH] fix syntax error --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 3021c70..b9ff2fd 100644 --- a/init.lua +++ b/init.lua @@ -243,8 +243,8 @@ local function handle_command(name, param) table.concat(own_factions, ", ") ) elseif not facts[faction_name] then - elseif name ~= factions.get_owner(faction_name) and not minetest.get_player_privs(name)[factions.priv] then return false, S("Faction @1 doesn't exist.", faction_name) + elseif name ~= factions.get_owner(faction_name) and not minetest.get_player_privs(name)[factions.priv] then return false, S("Permission denied: You are not the owner of that faction, " .. "and don't have the @1 privilege.", factions.priv) elseif not factions.valid_password(faction_name, password) then