From: Stephen L Johnson Date: Wed, 14 May 2003 03:47:13 +0000 (+0000) Subject: Fixed problem is mis-named STATUS_HISTORY variable (no $) Thanks to John Faichney. X-Git-Tag: spong-2_8_0-beta1~41 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0a7a0b8c2d9c28ffdce9c1f7cc3d3177beae50a;p=spong.git Fixed problem is mis-named STATUS_HISTORY variable (no $) Thanks to John Faichney. --- 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";