diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 3926a013..256571bd 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -799,7 +799,6 @@ function mod_page_ip($ip) { if ($config['mod']['dns_lookup']) $args['hostname'] = rDNS($ip); - $boards = listBoards(); foreach ($boards as $board) { openBoard($board['uri']); diff --git a/templates/mod/view_ip.html b/templates/mod/view_ip.html index cec3f8ad..a4ea17bc 100644 --- a/templates/mod/view_ip.html +++ b/templates/mod/view_ip.html @@ -89,6 +89,7 @@ {% for ban in bans %} + {% if ban.board in mod.boards or mod.boards.0 == '*' %}