summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-12-18 17:32:46 +0000
committerPeter Palfrader <peter@palfrader.org>2002-12-18 17:32:46 +0000
commit04f63bb9b8865c3659d529bba21fcd3219f24863 (patch)
tree1746a8eef762badb9d81e51188dd4ff4125a21a5
parentf116b6a1cb516e842ea77dd758e531d1ec25062e (diff)
Use '(no subject)' instead of '' as a subject
-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