Ver Fonte

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

sbingner há 25 anos atrás
pai
commit
26fde154bd
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      pisg.pl

+ 2 - 1
pisg.pl

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