From c20628b7e29480032155a58ed2aa41fb6cb17952 Mon Sep 17 00:00:00 2001
From: Peter Palfrader <peter@palfrader.org>
Date: Tue, 2 Jul 2002 14:17:44 +0000
Subject: fix missing defaults

---
 Echolot/Config.pm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

(limited to 'Echolot')

diff --git a/Echolot/Config.pm b/Echolot/Config.pm
index 70f3978..ce4f53e 100644
--- a/Echolot/Config.pm
+++ b/Echolot/Config.pm
@@ -1,7 +1,7 @@
 package Echolot::Config;
 
 # (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: Config.pm,v 1.3 2002/07/02 14:16:13 weasel Exp $
+# $Id: Config.pm,v 1.4 2002/07/02 14:17:44 weasel Exp $
 #
 
 =pod
@@ -26,11 +26,10 @@ sub init($) {
 	my ($params) = @_;
 
 	my $DEFAULT;
-	$DEFAULT->{'recipient_delimiter'} = '+';
-	$DEFAULT->{'dev_random'}          = '/dev/random';
-	$DEFAULT->{'hash_len'}            = 8;
-
 	$DEFAULT = {
+		recipient_delimiter         => '+',
+		dev_random                  => '/dev/random',
+		hash_len                    => 8,
 		addresses_default_ttl       => 5, # days
 		smarthost                   => 'localhost',
 		mailindir                   => 'mail/IN',
-- 
cgit v1.2.3