Browse Source

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

sbingner 25 năm trước cách đây
mục cha
commit
26fde154bd
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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};