4
0
Эх сурвалжийг харах

Fix bug in nick change code

sbingner 24 жил өмнө
parent
commit
6206b613f3

+ 3 - 1
modules/Pisg/Parser/Format/irssi.pm

@@ -83,7 +83,9 @@ sub thirdline
             $hash{newjoin} = $3;
 
         } elsif (($5.$6) eq 'nowknown') {
-            $hash{newnick} = $8;
+            if ($8 =~ /^\s+(\S+)/) {
+                $hash{newnick} = $1;
+            }
         }
 
         return \%hash;