Преглед изворни кода

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

sbingner пре 25 година
родитељ
комит
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+) (.*)',
     };