Commit 76f636d6 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(garb_text): Don't remove any text if param.garb_enable is false.

parent 44b5ef9a
/*
* $Id: text-garb.c,v 0.18 1994/04/05 08:05:13 ceder Exp $
* $Id: text-garb.c,v 0.19 1995/10/07 14:40:31 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -28,7 +28,7 @@
* Author: Per Cederqvist.
*/
static char *rcsid = "$Id: text-garb.c,v 0.18 1994/04/05 08:05:13 ceder Exp $";
static char *rcsid = "$Id: text-garb.c,v 0.19 1995/10/07 14:40:31 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -105,7 +105,10 @@ garb_text(void)
u_short nmisc;
double age; /* How many seconds is this text? */
double limit = 24 * 3600;
if (param.garb_enable == FALSE)
return TRUE;
if ( last_checked == 0 )
{
if ( last_start != NO_TIME
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment