From 9d02b84cfe2e26f1fbe19a8d98b71d6b56a479c6 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 11 Jul 2012 12:18:17 -0500 Subject: [PATCH] modified: yotsubanome.php --- yotsubanome.php | 1 + 1 file changed, 1 insertion(+) 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].'' : ''; -- 2.39.2