[web-bugs] master: Add tvfun to spam list
| From: | Nikita Popov | Date: | Thu, 07 Oct 2021 13:52:25 +0000 |
| Subject: | [web-bugs] master: Add tvfun to spam list | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-29642@lists.php.net to get a copy of this message | ||
Author: Nikita Popov (nikic)
Date: 2021-10-07T15:52:54+02:00
Commit: https://github.com/php/web-bugs/commit/fcfdfef2ca295e4140efb5264f749b56ebf56f4a
Raw diff: https://github.com/php/web-bugs/commit/fcfdfef2ca295e4140efb5264f749b56ebf56f4a.diff
Add tvfun to spam list
Changed paths:
M include/functions.php
Diff:
diff --git a/include/functions.php b/include/functions.php
index e0e3b6fb..1816d005 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -241,6 +241,7 @@ function is_spam($string)
'porn',
'aarinkaur',
'lildurk',
+ 'tvfun',
];
if (preg_match('/\b('. implode('|', $keywords) . ')\b/i',
$string)) {