]> 4ch.mooo.com Git - test.git/commitdiff
modified: yotsubanome.php
authorsparky4 <sparky4@4ch.irc.su>
Wed, 11 Jul 2012 17:20:07 +0000 (12:20 -0500)
committersparky4 <sparky4@4ch.irc.su>
Wed, 11 Jul 2012 17:20:07 +0000 (12:20 -0500)
yotsubanome.php

index 892aebb6ef2ba616f4d13f0f0e03d51ab91b93ad..aa434944f59554f48698a18c0b658305e6e19e1f 100755 (executable)
@@ -344,6 +344,7 @@ function arrangeThread($PTE, $tree, $tree_cut, $posts, $hiddenReply, $resno=0, $
                $tripkeycount = substr_count($name, TRIP_KEY);
                if($config['ALLOW_NONAME']==3){
                        if($name) $name = '';
+                       if($tripkeycount) $name = '';
                        if($email) $now = "<a href=\"mailto:$email\" class=\"linkmail\">$now</a>";
                }elseif($config['ALLOW_NONAME']==2){ // 強制砍名
                        if($tripkeycount==1) $name = preg_match('/(\\'.TRIP_KEY.'.{10})/', $name, $matches) ? '<span class="postertrip">'.$matches[1].'</span>' : '';