mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Clean up insertWord()
This commit is contained in:
parent
6ecdd499e4
commit
0af94a2275
2 changed files with 30 additions and 14 deletions
|
|
@ -173,6 +173,11 @@ class spamfilterController extends spamfilter
|
|||
|
||||
foreach ($ipaddress_list as $ipaddress)
|
||||
{
|
||||
if ($ipaddress === '')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$args = new stdClass;
|
||||
if (preg_match('@^(.+?)(?://|#)(.*)$@', $ipaddress, $matches))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue