Răsfoiți Sursa

Trillian fix part 2

Morten Brix Pedersen 24 ani în urmă
părinte
comite
e916c80970
2 a modificat fișierele cu 4 adăugiri și 2 ștergeri
  1. 3 1
      docs/Changelog
  2. 1 1
      modules/Pisg/Parser/Format/Trillian.pm

+ 3 - 1
docs/Changelog

@@ -16,8 +16,10 @@ pisg (x.xx)
      - ShowMostActiveByHourGraph
      - ShowMostActiveByHourGraph
      - ActiveNicksByHour
      - ActiveNicksByHour
      (thanks, Gissehel <gissehel-pisggene@giss.mine.nu>)
      (thanks, Gissehel <gissehel-pisggene@giss.mine.nu>)
-   * A problem with links in trillian log formats has been fixed (thanks,
+   * A problem with links in Trillian log formats has been fixed (thanks,
      Hanno Hecker <hanno-pisg@bee.de>)
      Hanno Hecker <hanno-pisg@bee.de>)
+   * A problem with multiple mode changes (+vv, +oo) in Trillian format has
+     been fixed.
 
 
 pisg (0.38) - Thu Apr, 25th 2002
 pisg (0.38) - Thu Apr, 25th 2002
    * Grammar fixes in documentation (thanks, Azhrarn <diablo2@krock.com>)
    * Grammar fixes in documentation (thanks, Azhrarn <diablo2@krock.com>)

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

@@ -74,7 +74,7 @@ sub thirdline
              $hash{nick} = remove_prefix($1);
              $hash{nick} = remove_prefix($1);
              $hash{newtopic} = $3;
              $hash{newtopic} = $3;
 
 
-        } elsif ($3 =~ /^Mode change \"(\S+) ([^\"]+)\" .+/) {
+        } elsif ($3 =~ /^Mode change \"(\S+)[^\"]+\".+ by (.+)$/) {
              $hash{nick} = remove_prefix($2);
              $hash{nick} = remove_prefix($2);
              $hash{newmode} = $1;
              $hash{newmode} = $1;