From f07cf320019bce78b63ac117059cee31f2cfe4f4 Mon Sep 17 00:00:00 2001 From: 8chan Date: Thu, 9 Oct 2014 20:26:40 -0700 Subject: [PATCH] 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. --- inc/mod/pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 95375914..35773e7c 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -966,7 +966,7 @@ function mod_page_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() {