chiark / gitweb /
Bugfixes, and production bot.
[ircbot] / bridge.tcl
index 0836203d21038923a4ae3ef1fecfbf1386f22a43..6f0c9daec3ec2214d84a1c7a7a69e10146f536ea 100755 (executable)
@@ -24,7 +24,7 @@ proc privmsg_unlogged {p ischan params} {
                set towrite "\[$n] [lindex $params 1]"
            }
            foreach botid $bots {
-               upvar #0 bot/$botid/bnchan ch
+               upvar #0 bot/$botid/chan ch
                puts $ch $towrite
            }
        } emsg]} {