summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/Command.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-07-15 15:27:13 +0000
committerfukachan <fukachan>2002-07-15 15:27:13 +0000
commit67ca162e475b706fe2c48bd0898b72b4e686e4e6 (patch)
treea013ae7a4399ffa230abe03fd1e4dd2ecf232119 /fml/lib/FML/Process/Command.pm
parent09aa33f70f3ee62223bab571f4e658ab23cf808b (diff)
downloadfml8-67ca162e475b706fe2c48bd0898b72b4e686e4e6.tar.gz
fml8-67ca162e475b706fe2c48bd0898b72b4e686e4e6.tar.bz2
fml8-67ca162e475b706fe2c48bd0898b72b4e686e4e6.zip
define the following access methods:
config() pcb() incoming_message_header() incoming_message_body() incoming_message() article_header() article_body() article_message() modified to use incoming_message_header() incoming_message_body() incoming_message() article_header() article_body() article_message().
Diffstat (limited to 'fml/lib/FML/Process/Command.pm')
-rw-r--r--fml/lib/FML/Process/Command.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/fml/lib/FML/Process/Command.pm b/fml/lib/FML/Process/Command.pm
index 0b6375bb..37cd08b3 100644
--- a/fml/lib/FML/Process/Command.pm
+++ b/fml/lib/FML/Process/Command.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2000,2001,2002 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Command.pm,v 1.63 2002/07/02 03:58:32 fukachan Exp $
+# $FML: Command.pm,v 1.64 2002/07/14 15:15:29 fukachan Exp $
#
package FML::Process::Command;
@@ -156,7 +156,7 @@ sub run
}
# append the incoming message as the reference
- my $msg = $curproc->{ incoming_message }->{ message };
+ my $msg = $curproc->incoming_message();
$curproc->reply_message( $msg );
unless (defined $reason) { $reason = 'unknown';}
@@ -614,7 +614,7 @@ sub _evaluate_command_lines
my $argv = $curproc->command_line_argv();
my $prompt = $config->{ command_prompt } || '>>>';
my $mode = 'unknown';
- my $rbody = $curproc->{ incoming_message }->{ body };
+ my $rbody = $curproc->incoming_message_body();
my $msg = $rbody->find_first_plaintext_message();
# preliminary scanning for message to find "confirm" or "admin"
@@ -754,7 +754,7 @@ sub _evaluate_command_lines
# send bak the original input message if needed
{
- my $msg = $curproc->{ incoming_message }->{ message };
+ my $msg = $curproc->incoming_message();
# in the case "confirm"
if ($status->{ context }->{ under_confirmation }) {