mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 01:37:05 +00:00
Apply style fix pt5
This commit is contained in:
parent
4727d8846f
commit
1a1110b4f7
67 changed files with 648 additions and 214 deletions
|
|
@ -327,7 +327,9 @@ bool ChatHandler::HandleCharacterDeletedRestoreCommand(char* args)
|
|||
{
|
||||
// Drop nonexistent account cases
|
||||
for (DeletedInfoList::iterator itr = foundList.begin(); itr != foundList.end(); ++itr)
|
||||
{ HandleCharacterDeletedRestoreHelper(*itr); }
|
||||
{
|
||||
HandleCharacterDeletedRestoreHelper(*itr);
|
||||
}
|
||||
}
|
||||
else if (foundList.size() == 1 && normalizePlayerName(newCharName))
|
||||
{
|
||||
|
|
@ -388,7 +390,9 @@ bool ChatHandler::HandleCharacterDeletedDeleteCommand(char* args)
|
|||
|
||||
// Call the appropriate function to delete them (current account for deleted characters is 0)
|
||||
for (DeletedInfoList::const_iterator itr = foundList.begin(); itr != foundList.end(); ++itr)
|
||||
{ Player::DeleteFromDB(ObjectGuid(HIGHGUID_PLAYER, itr->lowguid), 0, false, true); }
|
||||
{
|
||||
Player::DeleteFromDB(ObjectGuid(HIGHGUID_PLAYER, itr->lowguid), 0, false, true);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue