Merge branch 'spam' into develop

This commit is contained in:
Michael RICOIS 2017-12-01 11:48:10 +01:00
commit 0978716f81

View File

@ -110,8 +110,13 @@ class Suspect extends ObjectModel
}
}
public static function isBannished($email){
public static function isBannished($email)
{
$domain_name = substr(strrchr($email, '@'), 1);
if ($domain_name == 'qq.com') {
return true;
}
$suspect = Db::getInstance()->getRow('
SELECT `is_suspect`
FROM `'._DB_PREFIX_.'ant_alerthack_suspect`