فهرست منبع

Fix -cchannels to be as it were pre 0.67

Torbjorn Svensson 20 سال پیش
والد
کامیت
19d9c51c7a
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 0
      docs/Changelog
  2. 1 1
      modules/Pisg.pm

+ 1 - 0
docs/Changelog

@@ -19,6 +19,7 @@ pisg (0.69) - ??
      + Use nested HTML comments in CSS to cheat XML error having "<set ..>"
      + Use nested HTML comments in CSS to cheat XML error having "<set ..>"
        in the CSS file.
        in the CSS file.
      + Fix title tooltip (SF #1492153).
      + Fix title tooltip (SF #1492153).
+     + Fix -cchannels option (SF #1369457).
    * Features:
    * Features:
      + Add "+CVS" to versionstring if ./CVS is found
      + Add "+CVS" to versionstring if ./CVS is found
    Language Updates:
    Language Updates:

+ 1 - 1
modules/Pisg.pm

@@ -551,7 +551,7 @@ sub parse_channels
             my $hits = 0;
             my $hits = 0;
             foreach ( @{ $self->{chans} }) {
             foreach ( @{ $self->{chans} }) {
                 my $chan = (keys %{ $_ })[0];
                 my $chan = (keys %{ $_ })[0];
-                if ($channel =~ m/^$chan$/i) {
+                if (lc($channel) eq lc($chan)) {
                     push @chanlist, $_;
                     push @chanlist, $_;
                     $hits++;
                     $hits++;
                 }
                 }