mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
Removed useless code. Mail loading triggered at login by client anyway.
This commit is contained in:
parent
57126880cf
commit
7d285c5ed4
4 changed files with 31 additions and 50 deletions
|
|
@ -4810,7 +4810,7 @@ void ObjectMgr::ReturnOrDeleteOldMails(bool serverUp)
|
|||
Player *pl = 0;
|
||||
if (serverUp)
|
||||
pl = GetPlayer((uint64)m->receiver);
|
||||
if (pl && pl->m_mailsLoaded)
|
||||
if (pl)
|
||||
{ //this code will run very improbably (the time is between 4 and 5 am, in game is online a player, who has old mail
|
||||
//his in mailbox and he has already listed his mails )
|
||||
delete m;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue