diff --git a/endpoints/net.contactspam.php b/endpoints/net.contactspam.php index 96ff437..a50b6fe 100644 --- a/endpoints/net.contactspam.php +++ b/endpoints/net.contactspam.php @@ -177,6 +177,9 @@ try { exitWithJson(["status" => "OK", "clean" => false, "filter" => "stopforumspam_domains", "hit" => $word, "message" => "Your message contains a domain ($d) that has been linked to recent spam. Message not sent."]); } } + } + // do online searches only after we've checked the local lists + foreach ($domainlist as $d) { // check online blacklists foreach ($lists as $blacklist) { $url = "$d.$blacklist";