]> git.etc.gen.nz Git - spong.git/commitdiff
Fixed problem is mis-named STATUS_HISTORY variable (no $) Thanks to John Faichney.
authorStephen L Johnson <sjohnson@monsters.org>
Wed, 14 May 2003 03:47:13 +0000 (03:47 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Wed, 14 May 2003 03:47:13 +0000 (03:47 +0000)
src/spong-server.pl

index 53cbb364f73fb82fa2df14fc4d4647dbbf649035..916f1b55de87da8a9bc36039bc4bdb2a7fa3cb2a 100755 (executable)
@@ -6,7 +6,7 @@
 # There are one or more update processes that listen for status updates 
 # from client programs.
 
-# $Id: spong-server.pl,v 1.56 2003/01/29 22:56:25 sljohnson Exp $
+# $Id: spong-server.pl,v 1.57 2003/05/14 03:47:13 sljohnson Exp $
 
 use lib "@@LIBDIR@@";
 
@@ -936,7 +936,7 @@ sub save_ack {
    $file = "$SPONGDB/$host/acks/" . int(rand($$)) . "-$now-$time";
    &save_data( ">>", $file, $data );
 
-   if ( STATUS_HISTORY ) {
+   if ( $STATUS_HISTORY ) {
      # Save the status update information
      $untiltime = POSIX::strftime( "%H:%M, %D", localtime($time) );
      $data = "timestamp $now $time\ncolor blue\n$now $user ack $service Until $untiltime \nack:  $service by $user \n$message\n";