diff options
| author | fukachan <fukachan> | 2003-03-05 15:07:31 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2003-03-05 15:07:31 +0000 |
| commit | 8e4103bf651a72e1807a87ab737ade0ba35f2056 (patch) | |
| tree | 0c14c3dfbfce055ac651373fc3cd359ef237df1b /fml | |
| parent | c04af473f28cba04884fa63e44704cb2a78e971c (diff) | |
| download | fml8-8e4103bf651a72e1807a87ab737ade0ba35f2056.tar.gz fml8-8e4103bf651a72e1807a87ab737ade0ba35f2056.tar.bz2 fml8-8e4103bf651a72e1807a87ab737ade0ba35f2056.zip | |
return header for debug in error
Diffstat (limited to 'fml')
| -rw-r--r-- | fml/lib/FML/Process/Command.pm | 5 | ||||
| -rw-r--r-- | fml/lib/FML/Process/Distribute.pm | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/fml/lib/FML/Process/Command.pm b/fml/lib/FML/Process/Command.pm index e113ab76..4a95814d 100644 --- a/fml/lib/FML/Process/Command.pm +++ b/fml/lib/FML/Process/Command.pm @@ -3,7 +3,7 @@ # Copyright (C) 2000,2001,2002,2003 Ken'ichi Fukamachi # All rights reserved. # -# $FML: Command.pm,v 1.82 2003/02/05 03:11:03 fukachan Exp $ +# $FML: Command.pm,v 1.83 2003/02/09 12:31:44 fukachan Exp $ # package FML::Process::Command; @@ -177,6 +177,9 @@ sub run my $msg = $curproc->incoming_message(); $curproc->reply_message( $msg ); + # add header info. + $curproc->reply_message_add_header_info(); + unless (defined $reason) { $reason = 'unknown';} Log("deny command. reason=$reason"); } diff --git a/fml/lib/FML/Process/Distribute.pm b/fml/lib/FML/Process/Distribute.pm index 5fc886e8..909b9e47 100644 --- a/fml/lib/FML/Process/Distribute.pm +++ b/fml/lib/FML/Process/Distribute.pm @@ -3,7 +3,7 @@ # Copyright (C) 2000,2001,2002,2003 Ken'ichi Fukamachi # All rights reserved. # -# $FML: Distribute.pm,v 1.105 2003/02/16 08:33:09 fukachan Exp $ +# $FML: Distribute.pm,v 1.106 2003/03/05 13:54:26 fukachan Exp $ # package FML::Process::Distribute; @@ -233,6 +233,9 @@ sub run "post from not a member", $msg_args); $curproc->reply_message( $msg, $msg_args ); + + # add header info. + $curproc->reply_message_add_header_info(); } } else { |
