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=b7a98374f2166f808cc01bd663ed871bcd55f43f;p=infobot.git msgtime updated in on_msg git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@418 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/IRC/IrcHooks.pl b/src/IRC/IrcHooks.pl index 8f1786b..c4f1ef0 100644 --- a/src/IRC/IrcHooks.pl +++ b/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?