From d0a7a0b8c2d9c28ffdce9c1f7cc3d3177beae50a Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Wed, 14 May 2003 03:47:13 +0000 Subject: [PATCH] Fixed problem is mis-named STATUS_HISTORY variable (no $) Thanks to John Faichney. --- src/spong-server.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spong-server.pl b/src/spong-server.pl index 53cbb36..916f1b5 100755 --- a/src/spong-server.pl +++ b/src/spong-server.pl @@ -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"; -- 2.30.2