only show samefag ID if showing regular IDs

This commit is contained in:
Shish 2012-02-11 10:37:50 +00:00
parent 6f03ecfe2c
commit e535b1f002

View File

@ -171,7 +171,6 @@ class CommentListTheme extends Themelet {
$anoncode2 = "";
if($this->show_anon_id) {
$anoncode = '<sup>'.$this->anon_id.'</sup>';
}
if($user->can("view_ip")) {
#$style = " style='color: ".$this->get_anon_colour($comment->poster_ip).";'";
if(!array_key_exists($comment->poster_ip, $this->anon_map)) {
@ -181,6 +180,7 @@ class CommentListTheme extends Themelet {
$anoncode2 = '<sup>('.$this->anon_map[$comment->poster_ip].')</sup>';
}
}
}
$h_userlink = "<span class='username'$style>" . $h_name . $anoncode . $anoncode2 . "</span>";
$this->anon_id++;
}