Explorar o código

xchat bugfix by Michael Hostbaek

Morten Brix Pedersen %!s(int64=24) %!d(string=hai) anos
pai
achega
29ce01cb7b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      modules/Pisg/Parser/Format/xchat.pm

+ 2 - 2
modules/Pisg/Parser/Format/xchat.pm

@@ -13,8 +13,8 @@ sub new
     my $self = {
         cfg => $args{cfg},
         normalline => '(\d+):\d+:\d+ <([^>\s]+)>\s+(.*)',
-        actionline => '(\d+):\d+:\d+ \*\s+(\S+) (.*)',
-        thirdline  => '(\d+):(\d+):\d+ .--\s+(\S+) (\S+) (\S+) (\S+) (\S+) (\S+) (.*)',
+        actionline => '(\d+):\d+:\d+ (\*){1,}\s+(\S+) (.*)',
+        thirdline  => '(\d+):(\d+):\d+ .{1,}--\s+(\S+) (\S+) (\S+) (\S+) (\S+) (\S+) (.*)',
     };
 
     bless($self, $type);