mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
스팸필터모듈에 아이피나 금지어가 등록되어 있지 않을 경우 오류발생하는 부분 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3271 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
428ad23196
commit
b4abef7f4d
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@
|
|||
$ipaddress = $_SERVER['REMOTE_ADDR'];
|
||||
|
||||
$ip_list = $this->getDeniedIPList();
|
||||
if(!count($ip_list)) return false;
|
||||
if(!count($ip_list)) return new Object();
|
||||
|
||||
$count = count($ip_list);
|
||||
$patterns = array();
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
**/
|
||||
function isDeniedWord($text) {
|
||||
$word_list = $this->getDeniedWordList();
|
||||
if(!count($word_list)) return false;
|
||||
if(!count($word_list)) return new Object();
|
||||
|
||||
$count = count($word_list);
|
||||
for($i=0;$i<$count;$i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue