Fix copypaste error
This commit is contained in:
parent
4bc99102a0
commit
1b2e6cc67a
@ -139,9 +139,9 @@ if (env("require_database")) {
|
||||
exitWithJson(["status" => "OK", "clean" => false, "filter" => "netsyms_ip_blacklist", "hit" => $clientip, "message" => "A computer at your IP address has sent spam in the past. Your message has been blocked."]);
|
||||
}
|
||||
}
|
||||
if (!empty($clientip)) {
|
||||
if (!empty($email_lower)) {
|
||||
if ($database->has("net_contactspam_spammers", ["email" => $email_lower])) {
|
||||
exitWithJson(["status" => "OK", "clean" => false, "filter" => "netsyms_email_blacklist", "hit" => $clientip, "message" => "Someone put your email as the from address on a spam message. Your message has been blocked."]);
|
||||
exitWithJson(["status" => "OK", "clean" => false, "filter" => "netsyms_email_blacklist", "hit" => $email_lower, "message" => "Someone put your email as the from address on a spam message. Your message has been blocked."]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user