Ver Fonte

Add channel owner (~) and admin (&) chars in irssi.pm (reported by Scelt in SF tracker #1170470)

Christoph Berg há 21 anos atrás
pai
commit
e4e4cc203d
2 ficheiros alterados com 3 adições e 1 exclusões
  1. 2 0
      docs/Changelog
  2. 1 1
      modules/Pisg/Parser/Format/irssi.pm

+ 2 - 0
docs/Changelog

@@ -4,6 +4,8 @@ pisg (0.65) - ??
      though (thanks to Nico for the test log).
    * Fixed breakage when multiple LogDirs were given (thanks to Toni Viemerö
      for the report, SF tracker #1155433).
+   * Add channel owner (~) and admin (&) chars in irssi.pm (reported by Scelt
+     in SF tracker #1170470).
    The "Christoph got bored in Ireland" changes:
    * Get channel music charts with ShowCharts and ChartsHistory (suggested by
      Sven in SF tracker #1164596).

+ 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+)(.*)',
     };