Przeglądaj źródła

* Fixed a bug in the irssi format where an action could be recognized as a
normal line (thanks, Emil Mikulic)

Morten Brix Pedersen 22 lat temu
rodzic
commit
e1dd47eefd
2 zmienionych plików z 6 dodań i 2 usunięć
  1. 5 1
      docs/Changelog
  2. 1 1
      modules/Pisg/Parser/Format/irssi.pm

+ 5 - 1
docs/Changelog

@@ -1,3 +1,7 @@
+pisg (x.xx)
+   * Fixed a bug in the irssi format where an action could be recognized as a
+     normal line (thanks, Emil Mikulic)
+
 pisg (0.50) - Mon Nov, 17th 2003
    * Added NFiles option, which can be used for LogDirs to only parse the last
      N files (thanks, Christoph Berg)
@@ -11,7 +15,7 @@ pisg (0.50) - Mon Nov, 17th 2003
    * Distribute raw docbook (SGML) documentation (docs/pisg-doc.sgml)
    * Add half-op (+h) support to the xchat format (thanks, Jaff Har Har)
    * Fix a problem with irssi logs, where a topic was understood as a saying.
-   (thanks, jikuja)
+     (thanks, jikuja)
    * Add support for IRCAP logs (thanks, ArCePi)
    * Fix parsing of dircproxy logs (thanks, s-schwardt)
 

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

@@ -10,7 +10,7 @@ sub new
     my ($type, %args) = @_;
     my $self = {
         cfg => $args{cfg},
-        normalline => '^(\d+):\d+[^<^!]+<[@%+ ]?([^>]+)> (.*)',
+        normalline => '^(\d+):\d+[^<*^!]+<[@%+ ]?([^>]+)> (.*)',
         actionline => '^(\d+):\d+[^ ]+ +\* (\S+) (.*)',
         thirdline  => '^(\d+):(\d+)[^-]+-\!- (\S+) (\S+) (\S+) (\S+) (\S+)(.*)',
     };