Code Duplication    Length = 3-4 lines in 2 locations

includes/general.php 2 locations

@@ 866-869 (lines=4) @@
863
    }
864
  }
865
866
  if (isset($nick_array[NICK_CLASS])) {
867
    $result[NICK_CLASS] = '<span ' . $nick_array[NICK_CLASS] . '>';
868
    $result[NICK_CLASS_END] = '</span>';
869
  }
870
871
  $result[NICK_NICK] = sys_safe_output($nick_array[NICK_NICK]);
872
@@ 873-875 (lines=3) @@
870
871
  $result[NICK_NICK] = sys_safe_output($nick_array[NICK_NICK]);
872
873
  if (isset($nick_array[NICK_ALLY])) {
874
    $result[NICK_ALLY] = '[' . sys_safe_output($nick_array[NICK_ALLY]) . ']';
875
  }
876
877
  $result[NICK_HTML] = true;
878