From: dms Date: Wed, 28 Feb 2001 12:12:30 +0000 (+0000) Subject: msgtime updated in on_msg X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f60f3e3b02aaf7847b2a4dad7783514e2470d388;p=infobot.git msgtime updated in on_msg git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@418 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/IRC/IrcHooks.pl b/blootbot/src/IRC/IrcHooks.pl index 8f1786b..c4f1ef0 100644 --- a/blootbot/src/IRC/IrcHooks.pl +++ b/blootbot/src/IRC/IrcHooks.pl @@ -550,6 +550,7 @@ sub on_msg { ($user,$host) = split(/\@/, $event->userhost); $uh = $event->userhost(); $nuh = $nick."!".$uh; + $msgtime = time(); &hookMsg('private', undef, $nick, $msg); } @@ -719,7 +720,6 @@ sub on_public { } } - $msgtime = time(); $lastWho{$chan} = $nick; ### TODO: use $nick or lc $nick?