]> git.donarmstrong.com Git - infobot.git/commitdiff
msgtime updated in on_msg
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 28 Feb 2001 12:12:30 +0000 (12:12 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 28 Feb 2001 12:12:30 +0000 (12:12 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@418 c11ca15a-4712-0410-83d8-924469b57eb5

src/IRC/IrcHooks.pl

index 8f1786bbd0cd410396170d895d0a6c100e44dd4c..c4f1ef08d55d1a55210daa8ef6b4985f67de9387 100644 (file)
@@ -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?