From 6030d67842a5b964e0abdc3afed76cf67a09c93f Mon Sep 17 00:00:00 2001
From: Stephen L Johnson <sjohnson@monsters.org>
Date: Mon, 17 Apr 2000 19:23:39 +0000
Subject: [PATCH] added code to use new $SPONGSLEEP hash to determine
 $SPONGSLEEP time

---
 src/spong-network.pl | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/spong-network.pl b/src/spong-network.pl
index 9c00b21..a529411 100755
--- a/src/spong-network.pl
+++ b/src/spong-network.pl
@@ -61,6 +61,11 @@ Spong::Daemon::Daemonize()  # Daemonize if not signalling or a one-shot
    unless ($nosleep || $restart || $kill || $debug );
 &handle_signals();    # Set up handlers, and signal the current server if asked
 
+# Find our SPONGSLEEP value
+
+$SPONGSLEEP = $SPONGSLEEP{'spong-network'} || $SPONGSLEEP{'DEFAULT'} ||
+              $SPONGSLEEP || 300;
+
 %PLUGINS = {};
 &config_funcs();
 
-- 
2.30.2