mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
@@ -780,3 +780,14 @@ void WorldSession::HandleChatCanLocalWhisperTargetRequest(WorldPackets::Chat::Ca
|
||||
canLocalWhisperTargetResponse.Status = status;
|
||||
SendPacket(canLocalWhisperTargetResponse.Write());
|
||||
}
|
||||
|
||||
void WorldSession::HandleChatUpdateAADCStatus(WorldPackets::Chat::UpdateAADCStatus const& /*updateAADCStatus*/)
|
||||
{
|
||||
// disabling chat not supported
|
||||
// send Sueccess and force chat disabled to false instead of sending that change failed
|
||||
// this makes client change the cvar back to false instead of just printing error message in console
|
||||
WorldPackets::Chat::UpdateAADCStatusResponse response;
|
||||
response.Success = true;
|
||||
response.ChatDisabled = false;
|
||||
SendPacket(response.Write());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user