@@ -1,5 +1,6 @@
pisg (0.61) - ??
Changes by Christoph Berg:
+ * Fix warning when running on empty logs.
* More nick sanitizing.
* Remove whitespace around user pictures, border="0", title.
* docs/:
@@ -2131,6 +2131,8 @@ sub _topactive {
(@top_active) = @top_active[0..($self->{cfg}->{activenicks}+$self->{cfg}->{activenicks2}-1)];
if(@top_active) {
$self->{stats}->{topactive_lines} = $self->{stats}->{lines}{$top_active[0]};
+ } else {
+ $self->{stats}->{topactive_lines} = 1;
}
foreach (@top_active) {