summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Echolot/Tools.pm4
-rw-r--r--NEWS2
2 files changed, 4 insertions, 2 deletions
diff --git a/Echolot/Tools.pm b/Echolot/Tools.pm
index 20ae504..bf029f6 100644
--- a/Echolot/Tools.pm
+++ b/Echolot/Tools.pm
@@ -1,7 +1,7 @@
package Echolot::Tools;
# (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: Tools.pm,v 1.12 2002/12/03 02:59:13 weasel Exp $
+# $Id: Tools.pm,v 1.13 2002/12/18 17:32:46 weasel Exp $
#
=pod
@@ -130,7 +130,7 @@ sub send_message(%) {
defined($args{'To'}) or
cluck ('No recipient address given'),
return 0;
- $args{'Subject'} = '' unless (defined $args{'Subject'});
+ $args{'Subject'} = '(no subject)' unless (defined $args{'Subject'});
$args{'Body'} = '' unless (defined $args{'Body'});
$args{'From_'} =
Echolot::Config::get()->{'my_localpart'}.
diff --git a/NEWS b/NEWS
index 5e037b1..b6fcec5 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,8 @@ Changes in version 2.0.6 - 2002-12-18
* thesaurusindexfile and indexfilebasename config values should no
longer have the extension (.html) in them
* Fix v2 stats for cypherpunk remailers by using right column title.
+ * Use '(no subject)' instead of '' as a subject if none is
+ otherwhise chosen.
Changes in version 2.0.5 - 2002-10-25
* Only take default parameters if they are not set in