Procházet zdrojové kódy

Correct bug in winbot where a topic like 'soandso said "you suck"' would be
parsed as 'soandso said '

sbingner před 25 roky
rodič
revize
cb7f205f3d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      modules/Pisg/Parser/Format/winbot.pm

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

@@ -72,7 +72,7 @@ sub thirdline
                 $hash{kicker} = $3;
             #}
 
-        } elsif ($3 =~ /^([^\/]+)\/(\S+) changes topic to \"([^\"]+)\"/ && $2 eq $self->{cfg}->{channel}) {
+        } elsif ($3 =~ /^([^\/]+)\/(\S+) changes topic to \"(.+)\"[^\"]*$/ && $2 eq $self->{cfg}->{channel}) {
             $hash{nick} = $1;
             $hash{newtopic} = $3;