Explorar o código

Fix errors reported by Jens Bergmann

Morten Brix Pedersen %!s(int64=24) %!d(string=hai) anos
pai
achega
aeb704f088
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/Pisg/Parser/Logfile.pm

+ 1 - 1
modules/Pisg/Parser/Logfile.pm

@@ -123,7 +123,7 @@ sub _parse_dir
         monocount  => 0,
         oldtime    => 24
     );
-    if (defined $self->{cfg}->{logsuffix}) {
+    if ($self->{cfg}->{logsuffix} ne '') {
         my @temparray;
         my %months = (
             'jan' => '0',