Explorar o código

Fixed problem with mass-ops in bxlog-format

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

+ 3 - 3
pisg.pl

@@ -708,9 +708,9 @@ sub parse_thirdline
                     $hash{nick} = $1;
                     $hash{newtopic} = $2;
 
-                } elsif ($4 =~ /^mode (\S+) \[([+-]o)\S* (\S+)[^\]]*\] by ([^!]+)!(\S+)$/) {
-                    $hash{newmode} = $2;
-                    $hash{nick} = $4;
+                } elsif ($4 =~ /^mode (\S+) \[([+-]o\S*) (\S+)[^\]]*\] by ([^!]+)!(\S+)$/) {
+					$hash{newmode} = $2;
+					$hash{nick} = $4;
                 }
 
             } elsif ($3 eq '!') {