mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 15:27:47 -04:00
CoreCore/NetworkIO: Fix disconnect when canceling character creation
Remove the filter on CMSG_CHAR_ENUM added in 59b4c34924 since the same opcode is already throttled in the new improved system. DoS attacks using this opcode are still mitigated with same effect of before.
Fixes #10915
This commit is contained in:
@@ -569,7 +569,6 @@ void WorldSession::LogoutPlayer(bool save)
|
||||
m_playerLogout = false;
|
||||
m_playerSave = false;
|
||||
m_playerRecentlyLogout = true;
|
||||
AntiDOS.AllowOpcode(CMSG_CHAR_ENUM, true);
|
||||
LogoutRequest(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user