Skip to content

Commit

Permalink
Still not learning
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Jul 20, 2020
1 parent f27ce31 commit ceb990c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions.php
Expand Up @@ -248,7 +248,7 @@ function is_spam($string)
/* Primitive check for SPAMmy user. Add more later. */
function is_spam_user($email)
{
if (preg_match("/(rhsoft|reindl|phpbugreports|bugreports@gmail)/i", $email)) {
if (preg_match("/(rhsoft|reindl|phpbugreports|bugreports\d*@gmail)/i", $email)) {
return true;
}
return false;
Expand Down

0 comments on commit ceb990c

Please sign in to comment.