Index: trunk/extensions/CheckUser/CheckUser.php |
— | — | @@ -71,7 +71,7 @@ |
72 | 72 | 'cuc_last_oldid' => $rc_last_oldid, |
73 | 73 | 'cuc_type' => $rc_type, |
74 | 74 | 'cuc_timestamp' => $rc_timestamp, |
75 | | - 'cuc_ip' => $ip, |
| 75 | + 'cuc_ip' => IP::sanitizeIP($ip), |
76 | 76 | 'cuc_ip_hex' => $ip ? IP::toHex( $ip ) : null, |
77 | 77 | 'cuc_xff' => !$isSquidOnly ? $xff : '', |
78 | 78 | 'cuc_xff_hex' => ($xff_ip && !$isSquidOnly) ? IP::toHex( $xff_ip ) : null, |