filtro msg
This commit is contained in:
@@ -95,7 +95,7 @@ sub new { bless {}, shift };
|
||||
my $q="insert into entrada (nombre,correo,pagina,texto,fecha) values(?,?,?,?,now() )" ;
|
||||
my @a=@_;
|
||||
#simple method to ignore spam
|
||||
return _writemsg($q,@a) unless $a[3]=~m/html|website|\<a/;
|
||||
return _writemsg($q,@a) unless $a[3]=~m/http|website|\<a/;
|
||||
return 0;
|
||||
}
|
||||
#==============================================================================
|
||||
|
||||
Reference in New Issue
Block a user