]> git.donarmstrong.com Git - infobot.git/commitdiff
...
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 17 Apr 2001 15:34:03 +0000 (15:34 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 17 Apr 2001 15:34:03 +0000 (15:34 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@445 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/News.pl
src/core.pl

index 6b5264d0d4d8852a09997159e352ce6dc747f0fe..ee223621fd116ea7c32fa4714fde4cc67e7db6f4 100644 (file)
@@ -435,7 +435,7 @@ sub read {
 
     &::notice($::who, "+- News \002$chan\002 #$num: \037$item\037");
     &::notice($::who, "| Added by $a at $t");
-    &::notice($::who, "| Requested $rcount times, last by $rwho");
+    &::notice($::who, "| Requested $rcount times, last by $rwho") if ($rcount);
     &::notice($::who, $text);
 
     $::news{$chan}{$item}{'Request_By'}   = $::who;
index 7f9b4a2b79e56e7ea872c5be79ee15170a83127d..a2e7478c47727a13343178430d1bf6c5bea0e4e0 100644 (file)
@@ -19,6 +19,8 @@ use vars qw(
        $flag_quit $msgType
        $utime_userfile $wtime_userfile $ucount_userfile
        $utime_chanfile $wtime_chanfile $ucount_chanfile
+       $pubsize $pubcount $pubtime
+       $msgsize $msgcount $msgtime
 );
 
 # dynamic hash.