Browse Source

Fix bug in xchat format - was not recognizing joins

sbingner 23 years ago
parent
commit
c90795b0a2
2 changed files with 2 additions and 1 deletions
  1. 1 0
      docs/Changelog
  2. 1 1
      modules/Pisg/Parser/Format/xchat.pm

+ 1 - 0
docs/Changelog

@@ -7,6 +7,7 @@ pisg (x.xx)
      (Will now accept <set foo="you're"> correctly, before it would have parsed
      (Will now accept <set foo="you're"> correctly, before it would have parsed
      it as <set foo="you">. Will now NOT work with mis-matched quotes... which
      it as <set foo="you">. Will now NOT work with mis-matched quotes... which
      it probably never should have. EG: <set foo="bar'>)
      it probably never should have. EG: <set foo="bar'>)
+   * Fix bug in xchat format - was not recognizing joins
 
 
 
 
 pisg (0.46) - Tue Feb, 11th 2003
 pisg (0.46) - Tue Feb, 11th 2003

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

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