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

Don't allow spaces in nicks for xchat format (fixes bug with a quit message containing ">"

sbingner 25 лет назад
Родитель
Сommit
b03c635c01
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      modules/Pisg/Parser/Format/xchat.pm

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

@@ -10,7 +10,7 @@ sub new
     my $type = shift;
     my $self = {
         debug => $_[0],
-        normalline => '^(\d+):\d+:\d+ <([^>]+)>\s+(.*)',
+        normalline => '^(\d+):\d+:\d+ <([^>\s]+)>\s+(.*)',
         actionline => '^(\d+):\d+:\d+ \*\s+(\S+) (.*)',
         thirdline  => '^(\d+):(\d+):\d+ .--\s+(\S+) (\S+) (\S+) (\S+) (\S+) (\S+) (.*)',
     };