From a44d49829c0774614c44a03ec4e0d0f8cb83e9f0 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 11 Jul 2001 12:06:14 +0000 Subject: [PATCH] Set calling_nick to new nick on nick changes. --- bot.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.tcl b/bot.tcl index 3da92b3..1119fbf 100755 --- a/bot.tcl +++ b/bot.tcl @@ -376,9 +376,10 @@ proc nick_case {user} { } proc msg_NICK {p c newnick} { - global nick_arys nick_case + global nick_arys nick_case calling_nick prefix_nick recordlastseen_n $n "changing nicks to $newnick" 0 + set calling_nick $newnick recordlastseen_n $newnick "changing nicks from $n" 1 set luser [irctolower $n] lnick_marktime_cancel $luser -- 2.11.0