From dbdeac0a78cc36cd03e54466be7adb3a0cfc73c9 Mon Sep 17 00:00:00 2001 From: klea Date: Tue, 31 Mar 2026 21:31:24 +0000 Subject: *-chat: Don't relay messages from nullbot or kh2i --- archivebot-chat.tcl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'archivebot-chat.tcl') diff --git a/archivebot-chat.tcl b/archivebot-chat.tcl index b664a3c..5b3d894 100644 --- a/archivebot-chat.tcl +++ b/archivebot-chat.tcl @@ -8,6 +8,15 @@ proc abc-privmsg {nick uhost hand chan text} { #if {([string match "*@archiveteam/Aramaki" $uhost] && ([string first ": Job" $text] != -1) && ([string first ": Sorry, I don't know anything about" $text != -1)) || ([string match "*@hackint/user/h2ibot" $uhost])} {} return 0 } + + if {([string match "*@hackint/user/nullbot" $uhost])} { + return 0 + } + + if {([string match "*@hackint/user/kh2i" $uhost])} { + return 0 + } + if {[string index $text 0] == "\001"} { return 0 } -- cgit v1.3.1-10-gc9f91