only show current IP to self
This commit is contained in:
parent
a07220d29b
commit
e926b15d5f
@ -156,7 +156,9 @@ class UserPage extends Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
$event->add_stats("Joined: $h_join_date", 10);
|
$event->add_stats("Joined: $h_join_date", 10);
|
||||||
$event->add_stats("Current IP: {$_SERVER['REMOTE_ADDR']}", 80);
|
if($user->name == $event->display_user->name) {
|
||||||
|
$event->add_stats("Current IP: {$_SERVER['REMOTE_ADDR']}", 80);
|
||||||
|
}
|
||||||
$event->add_stats("Class: $h_class", 90);
|
$event->add_stats("Class: $h_class", 90);
|
||||||
|
|
||||||
$av = $event->display_user->get_avatar_html();
|
$av = $event->display_user->get_avatar_html();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user