diff --git a/src/main/java/io/github/homchom/recode/mod/events/impl/LegacyReceiveChatMessageEvent.java b/src/main/java/io/github/homchom/recode/mod/events/impl/LegacyReceiveChatMessageEvent.java index 74ffe1432..d46af5f9d 100644 --- a/src/main/java/io/github/homchom/recode/mod/events/impl/LegacyReceiveChatMessageEvent.java +++ b/src/main/java/io/github/homchom/recode/mod/events/impl/LegacyReceiveChatMessageEvent.java @@ -126,13 +126,8 @@ public void run(SimpleValidated context) { cancel = true; } - // hide session spy - if (Config.getBoolean("hideSessionSpy") && msgToString.startsWith("*") && msgToString.contains("text='*'") && msgToString.contains("color=green")) { - cancel = true; - } - - // hide muted chat - if (Config.getBoolean("hideMutedChat") && msgToString.startsWith("*") && msgToString.contains("text='*'") && msgToString.contains("color=red")) { + // hide session spy/muted chat/social spy + if (Config.getBoolean("streamerSpies") && msgToString.startsWith("*")) { cancel = true; }