aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/woverflow/chatting/Chatting.kt
diff options
context:
space:
mode:
authorKendell R <KTibow@users.noreply.github.com>2022-05-01 07:47:57 -0700
committerKendell R <KTibow@users.noreply.github.com>2022-05-01 07:48:17 -0700
commit2eded39259f3b717cce1a58e7fdabf6852ffdfcb (patch)
tree3acdef2a8f67a54ed9a1ab6e1414bb0953268438 /src/main/kotlin/cc/woverflow/chatting/Chatting.kt
parentd3b3d5273d6754c991d6ba9a69884071a8e56c91 (diff)
downloadChatting-2eded39259f3b717cce1a58e7fdabf6852ffdfcb.tar.gz
Chatting-2eded39259f3b717cce1a58e7fdabf6852ffdfcb.tar.bz2
Chatting-2eded39259f3b717cce1a58e7fdabf6852ffdfcb.zip
feat: spam block
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/Chatting.kt')
-rw-r--r--src/main/kotlin/cc/woverflow/chatting/Chatting.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/Chatting.kt b/src/main/kotlin/cc/woverflow/chatting/Chatting.kt
index 0fe85f9..5718f14 100644
--- a/src/main/kotlin/cc/woverflow/chatting/Chatting.kt
+++ b/src/main/kotlin/cc/woverflow/chatting/Chatting.kt
@@ -2,6 +2,7 @@ package cc.woverflow.chatting
import cc.woverflow.chatting.chat.ChatSearchingManager
import cc.woverflow.chatting.chat.ChatShortcuts
+import cc.woverflow.chatting.chat.ChatSpamBlock
import cc.woverflow.chatting.chat.ChatTabs
import cc.woverflow.chatting.config.ChattingConfig
import cc.woverflow.chatting.hook.GuiNewChatHook
@@ -80,6 +81,7 @@ object Chatting {
}
ClientRegistry.registerKeyBinding(keybind)
EVENT_BUS.register(this)
+ EVENT_BUS.register(ChatSpamBlock)
ChatTabs.initialize()
ChatShortcuts.initialize()
}