aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-14 15:41:34 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-14 15:41:34 +0200
commit18ceefa5c2cede0a7c287f263a9ca7a8613932f0 (patch)
tree2bf51157d1d6e2450461c6fdff2dce35ff503c99
parent25518fca29de7e813fc01981abf99151be0272f6 (diff)
downloadskyhanni-18ceefa5c2cede0a7c287f263a9ca7a8613932f0.tar.gz
skyhanni-18ceefa5c2cede0a7c287f263a9ca7a8613932f0.tar.bz2
skyhanni-18ceefa5c2cede0a7c287f263a9ca7a8613932f0.zip
Fixed Abiphone ring message not getting filtered correctly.
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
index 4ed49a233..cbe4d4f56 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
@@ -200,7 +200,7 @@ class ChatFilter {
if (message == "§eYou received kill credit for assisting on a slayer miniboss!") return true
- if (message.matchRegex("§e✆(?: Ring\\.\\.\\.)+ ")) return true
+ if (message.startsWith("§e✆ RING... ")) return true
return false
}