mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
More changes to deleted characters (Account, guilds)
Account: Cannot change name, comment, gender + Cannot be deleted if owns a guild Guilds: Cannot create, cannot be invited, cannot accept invite, cannot be passed leadership to
This commit is contained in:
@@ -36,6 +36,8 @@ if(empty($guild_errors)) {
|
||||
$to_player->find($pass_to);
|
||||
if(!$to_player->isLoaded()) {
|
||||
$guild_errors2[] = 'Player with name <b>'.$pass_to.'</b> doesn\'t exist.';
|
||||
} else if ($to_player->isDeleted()) {
|
||||
$guild_errors2[] = "Character with name <b>$pass_to</b> has been deleted.";
|
||||
}
|
||||
|
||||
if(empty($guild_errors2)) {
|
||||
|
Reference in New Issue
Block a user