mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
case sensitive IP
This commit is contained in:
parent
2786ff706d
commit
7b5aa1b725
@ -397,7 +397,7 @@ function chat_login_user($chatid, $version, $groupid, $course) {
|
||||
$chatuser->userid = $USER->id;
|
||||
$chatuser->groupid = $groupid;
|
||||
$chatuser->version = $version;
|
||||
$chatuser->ip = $USER->lastip;
|
||||
$chatuser->ip = $USER->lastIP;
|
||||
$chatuser->lastping = $chatuser->firstping = $chatuser->lastmessageping = time();
|
||||
$chatuser->sid = random_string(32);
|
||||
$chatuser->course = $course->id; //caching - needed for current_language too
|
||||
|
Loading…
x
Reference in New Issue
Block a user