Explorar o código

Only grab nick part of joins in mbot format...

sbingner %!s(int64=25) %!d(string=hai) anos
pai
achega
a9f0140d6e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      pisg.pl

+ 1 - 0
pisg.pl

@@ -884,6 +884,7 @@ sub parse_thirdline
 
             } elsif ($4 eq 'JOIN') {
                 $hash{newjoin} = $1;
+                $hash{newjoin} =~ s/!.*//;
 
             } elsif ($4 eq 'NICK') {
                 $hash{newnick} = $5;