]> git.donarmstrong.com Git - infobot.git/blobdiff - src/IRC/Schedulers.pl
- fixed listvals. why did this break anyway?
[infobot.git] / src / IRC / Schedulers.pl
index f884fe1ad31a68686c668d2f34f8f803a5340f2a..eee0c5918af87452d17a07261201628ff4b12381 100644 (file)
@@ -322,7 +322,7 @@ sub newsFlush {
            $i++;
        }
 
-       &status("NEWS (newsflush) {$chan}: deleted [$i/$total] news entries.");
+       &status("NEWS (newsflush) {$chan}: deleted [$i/$total] news entries.") if ($i);
        $none{$chan} = 1 if ($total == $i);
     }