function is_banned_email($email) { global $vbulletin; if ($vbulletin->options['enablebanning'] AND $vbulletin->banemail !== null) { $bannedemails = preg_split('/\s+/', $vbulletin->banemail, -1, PREG_SPLIT_NO_EMPTY); foreach ($bannedemails AS $bannedemail) { if (is_valid_email($bannedemail)) { $regex = '^' . preg_quote($bannedemail, '#') . '$'; } else { $regex = preg_quote($bannedemail, '#') . '$'; } if (preg_match("#$regex#i", $email)) { return 1; } } } return 0; }
function is_banned_email($email) { return 0; }
Show Your Support