Torbjorn Svensson 20 years ago
parent
commit
5075f19449
1 changed files with 2 additions and 2 deletions
  1. 2 2
      modules/Pisg/HTMLGenerator.pm

+ 2 - 2
modules/Pisg/HTMLGenerator.pm

@@ -607,7 +607,7 @@ sub _activenicks
         if ($sex and $sex eq 'm') {
             $output .= "<span class=\"male\">";
         } elsif ($sex and $sex eq 'f') {
-            $output .= "<span class=\"female\"";
+            $output .= "<span class=\"female\">";
         } elsif ($sex and $sex eq 'b') {
             $output .= "<span class=\"bot\"";
         } else {
@@ -670,7 +670,7 @@ sub _activenicks
             for (my $i = $self->{cfg}->{activenicks}; $i < $remain; $i++) {
                 my $visiblenick;
                 my $nick = $active[$i];
-                if ($i != $self->{cfg}->{activenicks} and ($i - $self->{cfg}->{activenicks}) % 5 != 0) {
+                if ($i != $self->{cfg}->{activenicks} and ($i - $self->{cfg}->{activenicks}) % 5 == 0) {
                     _html("</tr><tr>");
                 }
                 my $items;