summaryrefslogtreecommitdiff
path: root/execute.php
diff options
context:
space:
mode:
Diffstat (limited to 'execute.php')
-rw-r--r--execute.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/execute.php b/execute.php
index d927141..9761c57 100644
--- a/execute.php
+++ b/execute.php
@@ -25,6 +25,7 @@ require_once 'utils.php';
// Obvious spam
if (!isset($_POST['dontlook']) || !empty($_POST['dontlook'])) {
+ log_to_file('Spam detected from '.$_SERVER['REMOTE_ADDR'].'.');
die('Spam detected');
}