mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 19:23:27 +02:00
Fix #51 in 0.7 branch
This commit is contained in:
@@ -32,6 +32,12 @@ if(!$new_nick) {
|
||||
$player = new OTS_Player();
|
||||
$player->find($name);
|
||||
$player_from_account = false;
|
||||
|
||||
if(!Validator::guildNick($new_nick)) {
|
||||
echo Validator::getLastError();
|
||||
return;
|
||||
}
|
||||
|
||||
if(strlen($new_nick) <= 40)
|
||||
{
|
||||
if($player->isLoaded())
|
||||
|
Reference in New Issue
Block a user