From 156725c8ecf41db122c25e47d959fbefc61d137f Mon Sep 17 00:00:00 2001 Message-Id: <156725c8ecf41db122c25e47d959fbefc61d137f.1715833455.git.mdw@distorted.org.uk> From: Mark Wooding Date: Tue, 12 Feb 2002 19:41:01 +0000 Subject: [PATCH] Bugfixes. Organization: Straylight/Edgeware From: Ian Jackson --- bot.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.tcl b/bot.tcl index 105a0a2..3538397 100755 --- a/bot.tcl +++ b/bot.tcl @@ -151,7 +151,7 @@ proc tell_event {nl event} { # later. We also support the psuedo-event `none'. The del msg # and new msg events are handled by the command procedures, not here. global calling_nick - if {[info exists calling_nick] { set save $calling_nick } + if {[info exists calling_nick]} { set save $calling_nick } switch -exact $event { none { } talk { @@ -198,7 +198,7 @@ proc tell_event_core {nl event} { # When user talks we actually get talk now and act later global calling_nick set calling_nick $nl - set iml [msgdb_get $nl inbound] + set iml [msgsdb_get $nl inbound] if {![llength $iml]} return set ago [expr {$now - $telling_when}] -- [mdw]