Просмотр исходного кода

Recognize "Short joins" in mIRC6 and mIRC6hack

Christoph Berg 21 лет назад
Родитель
Сommit
654839cca6
3 измененных файлов с 7 добавлено и 0 удалено
  1. 1 0
      docs/Changelog
  2. 3 0
      modules/Pisg/Parser/Format/mIRC6.pm
  3. 3 0
      modules/Pisg/Parser/Format/mIRC6hack.pm

+ 1 - 0
docs/Changelog

@@ -6,6 +6,7 @@ pisg (0.65) - ??
      for the report, SF tracker #1155433).
      for the report, SF tracker #1155433).
    * Add channel owner (~) and admin (&) chars in various parsers (reported by
    * Add channel owner (~) and admin (&) chars in various parsers (reported by
      Scelt in SF tracker #1170470).
      Scelt in SF tracker #1170470).
+   * Recognize "Short joins" in mIRC6 and mIRC6hack (thanks, coaster).
    The "Christoph got bored in Ireland" changes:
    The "Christoph got bored in Ireland" changes:
    * Get channel music charts with ShowCharts and ChartsHistory (suggested by
    * Get channel music charts with ShowCharts and ChartsHistory (suggested by
      Sven in SF tracker #1164596).
      Sven in SF tracker #1164596).

+ 3 - 0
modules/Pisg/Parser/Format/mIRC6.pm

@@ -78,6 +78,9 @@ sub thirdline
         } elsif ($#line == 4 && ($line[2].$line[3]) eq 'hasjoined') {
         } elsif ($#line == 4 && ($line[2].$line[3]) eq 'hasjoined') {
             $hash{newjoin} = $line[0];
             $hash{newjoin} = $line[0];
 
 
+        } elsif ($line[0] eq 'Joins:') { # Alt+O -> IRC -> Options -> Short join/parts
+            $hash{newjoin} = $line[1];
+
         } elsif ($#line == 5 && ($line[2].$line[3]) eq 'nowknown') {
         } elsif ($#line == 5 && ($line[2].$line[3]) eq 'nowknown') {
             $hash{newnick} = $line[5];
             $hash{newnick} = $line[5];
 
 

+ 3 - 0
modules/Pisg/Parser/Format/mIRC6hack.pm

@@ -109,6 +109,9 @@ sub thirdline
         } elsif ($#line == 4 && ($line[2].$line[3]) eq 'hasjoined') {
         } elsif ($#line == 4 && ($line[2].$line[3]) eq 'hasjoined') {
             $hash{newjoin} = $line[0];
             $hash{newjoin} = $line[0];
 
 
+        } elsif ($line[0] eq 'Joins:') { # Alt+O -> IRC -> Options -> Short join/parts
+            $hash{newjoin} = $line[1];
+
         } elsif ($#line == 5 && ($line[2].$line[3]) eq 'nowknown') {
         } elsif ($#line == 5 && ($line[2].$line[3]) eq 'nowknown') {
             $hash{newnick} = $line[5];
             $hash{newnick} = $line[5];