From 033baf06c28d0860826b0ef1ce97cc2ca4355af3 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sun, 16 Oct 2011 21:57:32 +1100 Subject: [PATCH] /reports should oben config[mod][show_ip] --- mod.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mod.php b/mod.php index 15deecf0..26869aa0 100644 --- a/mod.php +++ b/mod.php @@ -1329,7 +1329,9 @@ 'Board: ' . sprintf($config['board_abbreviation'], $report['uri']) . '
' . 'Reason: ' . $report['reason'] . '
' . 'Report date: ' . date($config['post_date'], $report['time']) . '
' . - 'Reported by: ' . $report['ip'] . '
' . + (hasPermission($config['mod']['show_ip']) ? + 'Reported by: ' . $report['ip'] . '
' + : '') . '
' . (hasPermission($config['mod']['report_dismiss']) ? 'Dismiss | ' : '') .