X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/ircbot/blobdiff_plain/e2af9bcb6f071558b4815ff30aaeb937df2bec21..35e1921958877a760b6757ec2b1be25066ce4937:/bot.tcl diff --git a/bot.tcl b/bot.tcl index fd2bdf9..d5afa81 100755 --- 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