misc: Changed placeholder IP address from 7f000001 to 0 (#1869)

This commit is contained in:
Roman Kelesidis 2025-03-31 21:42:36 +07:00 committed by GitHub
commit 84e2392896
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1875,7 +1875,7 @@ function send_pm($user_id, $subject, $message, $poster_id = BOT_UID)
$message = DB()->escape($message);
if ($poster_id == BOT_UID) {
$poster_ip = '7f000001';
$poster_ip = '0';
} elseif ($row = DB()->fetch_row("SELECT user_reg_ip FROM " . BB_USERS . " WHERE user_id = $poster_id")) {
$poster_ip = $row['user_reg_ip'];
} else {