From: moodler Date: Wed, 9 Jul 2003 13:07:53 +0000 (+0000) Subject: A beep is a ping. ;-) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a808a06f8865c92c7c99a33a5b4877696842364a;p=moodle.git A beep is a ping. ;-) --- diff --git a/mod/chat/users.php b/mod/chat/users.php index ff8de208d9..395fae8e74 100644 --- a/mod/chat/users.php +++ b/mod/chat/users.php @@ -43,6 +43,9 @@ if (isset($_GET['beep'])) { if (!insert_record("chat_messages", $message)) { error("Could not insert a chat message!"); } + + $chatuser->lastping = time(); // A beep is a ping ;-) + update_record("chat_users", $chatuser); }