From: sparky4 Date: Wed, 11 Jul 2012 17:18:17 +0000 (-0500) Subject: modified: yotsubanome.php X-Git-Url: http://4ch.mooo.com/gitweb/?p=test.git;a=commitdiff_plain;h=9d02b84cfe2e26f1fbe19a8d98b71d6b56a479c6 modified: yotsubanome.php --- 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].'' : '';