Run local domain checks before doing queries
This commit is contained in:
parent
46c389d203
commit
68a80dc4f9
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user