aboutsummaryrefslogtreecommitdiff
path: root/archivebot-chat.tcl
diff options
context:
space:
mode:
authorGravatar klea2026-03-31 21:31:24 +0000
committerGravatar steering72532026-03-31 15:40:01 -0600
commitdbdeac0a78cc36cd03e54466be7adb3a0cfc73c9 (patch)
tree3b3a551178c3f293ee30868e8bc377ed667b7610 /archivebot-chat.tcl
parentgitgud-chat (diff)
*-chat: Don't relay messages from nullbot or kh2i
Diffstat (limited to 'archivebot-chat.tcl')
-rw-r--r--archivebot-chat.tcl9
1 files changed, 9 insertions, 0 deletions
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
}