X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=yotsubanome.php;fp=yotsubanome.php;h=892aebb6ef2ba616f4d13f0f0e03d51ab91b93ad;hb=9d02b84cfe2e26f1fbe19a8d98b71d6b56a479c6;hp=8ccfcf68452e59237f7b2d32b15724e5b231fb17;hpb=743372dd423b454bb17bc6b388623b2ed1f5b35f;p=test.git diff --git a/yotsubanome.php b/yotsubanome.php index 8ccfcf6..892aebb 100755 --- a/yotsubanome.php +++ b/yotsubanome.php @@ -343,6 +343,7 @@ function arrangeThread($PTE, $tree, $tree_cut, $posts, $hiddenReply, $resno=0, $ // This may be a blob of code but it apparently works >< please help me here $tripkeycount = substr_count($name, TRIP_KEY); if($config['ALLOW_NONAME']==3){ + if($name) $name = ''; if($email) $now = "$now"; }elseif($config['ALLOW_NONAME']==2){ // 強制砍名 if($tripkeycount==1) $name = preg_match('/(\\'.TRIP_KEY.'.{10})/', $name, $matches) ? ''.$matches[1].'' : '';