mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
misc: Changed placeholder IP address from 7f000001
to 0
(#1869)
This commit is contained in:
parent
0a5d14fb6b
commit
84e2392896
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue