# 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 {
# 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}]