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'] . '
'
+ : '') .
'