mirror of
https://github.com/mt-mods/playerfactions.git
synced 2024-11-22 15:23:47 +01:00
fix translator missing argument
This commit is contained in:
parent
f1489b486d
commit
307141d7e3
2
init.lua
2
init.lua
@ -332,7 +332,7 @@ local function handle_command(name, param)
|
|||||||
elseif not facts[faction_name] then
|
elseif not facts[faction_name] then
|
||||||
return false, S("Faction @1 doesn't exist.", faction_name)
|
return false, S("Faction @1 doesn't exist.", faction_name)
|
||||||
elseif facts[faction_name].members[name] then
|
elseif facts[faction_name].members[name] then
|
||||||
return false, S("You are already in faction @1.")
|
return false, S("You are already in faction @1.", faction_name)
|
||||||
elseif not factions.valid_password(faction_name, password) then
|
elseif not factions.valid_password(faction_name, password) then
|
||||||
return false, S("Permission denied: Wrong password.")
|
return false, S("Permission denied: Wrong password.")
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user