Apply style fix pt3

This commit is contained in:
Antz 2020-01-13 10:14:05 +00:00
parent 1392c131e7
commit d93dbd95fe
191 changed files with 9851 additions and 676 deletions

View file

@ -115,7 +115,9 @@ bool ChatHandler::GetDeletedCharacterInfoList(DeletedInfoList& foundList, std::s
}
}
else
{ resultChar = CharacterDatabase.Query("SELECT guid, deleteInfos_Name, deleteInfos_Account, deleteDate FROM characters WHERE deleteDate IS NOT NULL"); }
{
resultChar = CharacterDatabase.Query("SELECT guid, deleteInfos_Name, deleteInfos_Account, deleteDate FROM characters WHERE deleteDate IS NOT NULL");
}
if (resultChar)
{
@ -344,7 +346,9 @@ bool ChatHandler::HandleCharacterDeletedRestoreCommand(char* args)
HandleCharacterDeletedRestoreHelper(delInfo);
}
else
{ SendSysMessage(LANG_CHARACTER_DELETED_ERR_RENAME); }
{
SendSysMessage(LANG_CHARACTER_DELETED_ERR_RENAME);
}
return true;
}
@ -442,7 +446,9 @@ bool ChatHandler::HandleCharacterEraseCommand(char* args)
target->GetSession()->KickPlayer();
}
else
{ account_id = sObjectMgr.GetPlayerAccountIdByGUID(target_guid); }
{
account_id = sObjectMgr.GetPlayerAccountIdByGUID(target_guid);
}
std::string account_name;
sAccountMgr.GetName(account_id, account_name);