General fixes

+Fixed a bug that permitted to invite players already in an alliance
+Fixed a bug that didn't delete the alliance permissions when the
alliance was dispanded/dispersed or the user left the alliance by
destroying his embassy
+Added a new error which shows up when trying to invite someone already
in an alliance
This commit is contained in:
iopietro
2018-06-01 17:14:24 +02:00
parent b717c0cdf4
commit 693d29c0f8
4 changed files with 18 additions and 10 deletions
+2 -1
View File
@@ -98,7 +98,8 @@ define("NAME_NO_EXIST","There is no user with the name ");
define("ID_NO_EXIST","There is no user with the id ");
define("SAME_NAME","You can't invite yourself");
define("ALREADY_INVITED"," already invited");
define("ALREADY_IN_ALLY"," already in this alliance");
define("ALREADY_IN_ALLY"," is already in this alliance");
define("ALREADY_IN_AN_ALLY"," is already in an alliance");
define("VAC_MODE_WRONG_DAYS","You've inserted a wrong number of days");
//COPYRIGHT