chiark
/
gitweb
/
~mdw
/
ircbot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e2af9bc
)
Do not tell people when *we* reset the topic.
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 15 Jan 2001 15:21:05 +0000
(15:21 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 15 Jan 2001 15:21:05 +0000
(15:21 +0000)
bot.tcl
patch
|
blob
|
blame
|
history
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} {
}
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 {
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
set topic [chandb_get $lchan topicset]
if {[string length $topic]} {
sendout TOPIC $lchan $topic
- note_topic $lchan {} $topic
}
} else {
sendout PART $lchan
}
} else {
sendout PART $lchan