chiark / gitweb /
Do not tell people when *we* reset the topic.
[ircbot] / bot.tcl
diff --git a/bot.tcl b/bot.tcl
index fd2bdf91773cbf4368eb693a737495b190d4b4fe..d5afa81a3e3e146d3bdc6edf3a1bd8ec7b68cbe3 100755 (executable)
--- a/bot.tcl
+++ b/bot.tcl
@@ -415,11 +415,7 @@ proc recordlastseen_n {n how here} {
 }
 
 proc note_topic {showoff whoby topic} {
-    if {[string length $whoby]} {
-       set msg "FYI, $whoby has changed the topic on $showoff"
-    } else {
-       set msg "FYI, I have reset the topic on $showoff"
-    }
+    set msg "FYI, $whoby has changed the topic on $showoff"
     if {[string length $topic] < 160} {
        append msg " to $topic"
     } else {
@@ -535,7 +531,6 @@ proc check_justme {lchan} {
        set topic [chandb_get $lchan topicset]
        if {[string length $topic]} {
            sendout TOPIC $lchan $topic
-           note_topic $lchan {} $topic
        }
     } else {
        sendout PART $lchan