forked from GithubBackups/vichan
Don't show host on IP_less
Sometimes there isn't one so you get weird stuff like 127.0.x.x x.x.0.1 revealing the whole IP. Oops.
This commit is contained in:
parent
da0ea45730
commit
f07cf32001
@ -966,7 +966,7 @@ function mod_page_ip_less($b, $id) {
|
|||||||
|
|
||||||
$args['security_token'] = make_secure_link_token('IP_less/' . $b . '/' . $id);
|
$args['security_token'] = make_secure_link_token('IP_less/' . $b . '/' . $id);
|
||||||
|
|
||||||
mod_page(sprintf('%s: %s', _('IP'), less_ip($ip)), 'mod/view_ip_less.html', $args, less_hostmask($args['hostname']));
|
mod_page(sprintf('%s: %s', _('IP'), less_ip($ip)), 'mod/view_ip_less.html', $args);
|
||||||
}
|
}
|
||||||
|
|
||||||
function mod_ban() {
|
function mod_ban() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user