Explorar o código

Find alias for kicker.... only if there WAS a kicker

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

+ 2 - 1
pisg.pl

@@ -550,7 +550,8 @@ sub parse_file
             $hour = $hashref->{hour};
             $min = $hashref->{min};
             $nick = find_alias($hashref->{nick});
-            $kicker = $hashref->{kicker};
+            $kicker = find_alias($hashref->{kicker})
+                if ($hashref->{kicker});
             $newtopic = $hashref->{newtopic};
             $newmode = $hashref->{newmode};
             $newjoin = $hashref->{newjoin};