[Feature] Allow Focus Effects to be Filtered out. (#2447)

This commit is contained in:
Aeadoin 2022-09-25 13:00:19 -04:00 committed by GitHub
parent 678a4e30f5
commit 1ce272a1c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3207,6 +3207,8 @@ void Client::MessageString(uint32 type, uint32 string_id, const char* message1,
return;
if (GetFilter(FilterDamageShields) == FilterHide && type == Chat::DamageShield)
return;
if (GetFilter(FilterFocusEffects) == FilterHide && type == Chat::FocusEffect)
return;
if (type == Chat::Emote)
type = 4;