[Performance] Mail key is now cached during player load (#3339)

* [Performance] Mail key is now cached during player load

* More refactoring
This commit is contained in:
Chris Miles
2023-05-09 13:22:43 -05:00
committed by GitHub
parent 93a4153a4b
commit dbc6346fe8
7 changed files with 62 additions and 38 deletions
+1 -1
View File
@@ -11238,7 +11238,7 @@ void Client::ReconnectUCS()
{
EQApplicationPacket *outapp = nullptr;
std::string buffer;
std::string mail_key = database.GetMailKey(CharacterID(), true);
std::string mail_key = m_mail_key;
EQ::versions::UCSVersion connection_type = EQ::versions::ucsUnknown;
// chat server packet