Add checks on command args to avoid server crashes

This commit is contained in:
Yves-Marie Haussonne
2020-10-13 00:57:52 +02:00
parent 639f5aa716
commit 0612afb338
3 changed files with 15 additions and 1 deletions

View File

@ -33,6 +33,7 @@ List available factions=
Missing faction name.=
Missing password.=
Missing player name.=
Missing target.=
Name: @1@nOwner: @2@nMembers: @3=
Ownership has been transferred to @1.=
Password has been updated.=
@ -56,6 +57,7 @@ The player doesn't exist.=
The player is already in the faction "@1".=
There are no factions yet.=
This faction doesn't exists.=
The player name is nil or empty.=
This player doesn't exists or is in no faction=
This player is not in the specified faction.=
This player is the owner of no faction.=