Browse Source

Don't count different cased nicks differently

Morten Brix Pedersen 24 years ago
parent
commit
2e683b97c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/Pisg/Parser/Logfile.pm

+ 1 - 1
modules/Pisg/Parser/Logfile.pm

@@ -516,7 +516,7 @@ sub checkname {
     my ($nick, $newnick, $stats) = @_;
 
     foreach (@{ $stats->{nicks}{$newnick}}) {
-        if ($_ eq $nick) {
+        if (lc($_) eq lc($nick)) {
             return;
         } 
     }