Explorar el Código

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

sbingner hace 25 años
padre
commit
26fde154bd
Se han modificado 1 ficheros con 2 adiciones y 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};