Morten Brix Pedersen 24 лет назад
Родитель
Сommit
7ddfb72590
2 измененных файлов с 5 добавлено и 1 удалено
  1. 4 0
      docs/Changelog
  2. 1 1
      modules/Pisg/Parser/Format/winbot.pm

+ 4 - 0
docs/Changelog

@@ -1,3 +1,7 @@
+pisg (x.xx)
+   * Fix a bug in the winbot logfile format where lines containing the channel
+     name in a wrong case wouldn't get counted.
+
 pisg (0.40) - Thu Jul, 4th 2002
    * The "It's Summer And The Sun Is Shining"-release.
    * When ShowMostAtiveByHour was enabled, unitialized values could appear

+ 1 - 1
modules/Pisg/Parser/Format/winbot.pm

@@ -81,7 +81,7 @@ sub thirdline
             }
 
         } elsif ($3 =~ /^(\S+) has joined (\S+)/) {
-            if ($2 eq $self->{cfg}->{channel}) {
+            if (lc($2) eq lc($self->{cfg}->{channel})) {
                 $hash{nick} = $1;
                 $hash{newjoin} = $1;
             }