Merge branch 'spam' into develop
This commit is contained in:
commit
0978716f81
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user