mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Add regexp support to spamfilter
This commit is contained in:
parent
75f55c9b5e
commit
7c07727e91
9 changed files with 38 additions and 16 deletions
|
|
@ -149,7 +149,7 @@ class spamfilterAdminController extends spamfilter
|
|||
continue;
|
||||
}
|
||||
|
||||
if (mb_strlen($word, 'UTF-8') < 2 || mb_strlen($word, 'UTF-8') > 40)
|
||||
if (mb_strlen($word, 'UTF-8') < 2 || mb_strlen($word, 'UTF-8') > 180)
|
||||
{
|
||||
return $this->setError('msg_invalid_word');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue