chiark / gitweb /
#chan -> $chan
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 15 Jan 2001 02:26:09 +0000 (02:26 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 15 Jan 2001 02:26:09 +0000 (02:26 +0000)
bot.tcl

diff --git a/bot.tcl b/bot.tcl
index 0b12a54d1dcf2049be684f4f00f0dda95407a55a..15be233ebc8038ecbd18aa3e6560a3df6c2bbc09 100755 (executable)
--- a/bot.tcl
+++ b/bot.tcl
@@ -1052,8 +1052,8 @@ def_chancmd autojoin {
        default { error "channel autojoin must be `yes' or `no' }
     }
     chandb_set $chan autojoin $nv
-    ucmdr [expr {$nv ? "I will join #chan when I'm restarted " : \
-           "I won't join #chan when I'm restarted "}] {}
+    ucmdr [expr {$nv ? "I will join $chan when I'm restarted " : \
+           "I won't join $chan when I'm restarted "}] {}
 }
 
 def_chancmd userinvite {
@@ -1085,7 +1085,7 @@ def_chancmd topic {
                error "you must specific the topic to set"
            }
            chandb_set $chan topicset $t
-           ucmdr "Whenever I'm alone on #chan, I'll set the topic to $t." {}
+           ucmdr "Whenever I'm alone on $chan, I'll set the topic to $t." {}
        }
        see - tell {
            ta_listop {