diff options
author | Peter Palfrader <peter@palfrader.org> | 2002-12-18 17:32:46 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2002-12-18 17:32:46 +0000 |
commit | 04f63bb9b8865c3659d529bba21fcd3219f24863 (patch) | |
tree | 1746a8eef762badb9d81e51188dd4ff4125a21a5 /Echolot/Tools.pm | |
parent | f116b6a1cb516e842ea77dd758e531d1ec25062e (diff) |
Use '(no subject)' instead of '' as a subject
Diffstat (limited to 'Echolot/Tools.pm')
-rw-r--r-- | Echolot/Tools.pm | 4 |
1 files changed, 2 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'}. |