l'errore era in una delle condizioni, avevi dimenticato un ,$email, adesso funziona perfettamente.
// ##### BEGIN: SPAM DOMAIN FILTER #####
// Kick out spam domains
$email = $user->get('email');
if ( (eregi("^[_\.0-9a-z-]+@gawab.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@mail.ru",$email)) ||
(eregi("^[_\.0-9a-z-]+@spambox.us",$email)) ||
(eregi("^[_\.0-9a-z-]+@mailinator.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@dodgeit.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@mytrashmail.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@spamcero.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@jetable.org",$email)) ||
(eregi("^[_\.0-9a-z-]+@pookmail.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@mailater.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@guerrillamail.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@spamfree24.org",$email)) ||
(eregi("^[_\.0-9a-z-]+@nobulk.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@temporaryinbox.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@spam.la",$email)) ||
(eregi("^[_\.0-9a-z-]+@tempemail.net",$email)) ||
(eregi("^[_\.0-9a-z-]+@tempinbox.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@list.ru",$email)) ||
(eregi("^[_\.0-9a-z-]+@bk.ru",$email)) ||
(eregi("^[_\.0-9a-z-]+@yahoo.co.uk",$email)) ||
(eregi("^[_\.0-9a-z-]+@gmail.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@minivds.ru",$email)) ||
(eregi("^[_\.0-9a-z-]+@nakgirls.ru",$email)) ||
(eregi("^[_\.0-9a-z-]+@yandex.ru",$email)) ||
(eregi("^[_\.0-9a-z-]+@info1a.cn",$email)) ||
(eregi("^[_\.0-9a-z-]+@gooogletartsert.net",$email)) ||
(eregi("^[_\.0-9a-z-]+@freemeilaadressforall.net",$email)) ||
(eregi("^[_\.0-9a-z-]+@goodemailadressforfree.net",$email)) ||
(eregi("^[_\.0-9a-z-]+@5opicforum.cn",$email)) ||
(eregi("^[_\.0-9a-z-]+@pozitifff.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@2008bases1.net",$email)) ||
(eregi("^[_\.0-9a-z-]+@nm.ru",$email)) ||
(eregi("^[_\.0-9a-z-]+@goldwoof.net",$email)) ||
(eregi("^[_\.0-9a-z-]+@megapochta.cn",$email)) ||
(eregi("^[_\.0-9a-z-]+@meta.ua",$email)) ||
(eregi("^[_\.0-9a-z-]+@fene4ek.net",$email)) ||
(eregi("^[_\.0-9a-z-]+@mail15.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@googlemail.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@yandex.com",$email)) ||
(eregi("^[_\.0-9a-z-]+@inmail24.com",$email)) )
{
JError::raiseWarning('','non puoi usare e-Mail temporanee');
$this->register();
return false;
}
// ##### END: SPAM DOMAIN FILTER #####