summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/Command.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2005-11-30 23:30:38 +0000
committerfukachan <fukachan>2005-11-30 23:30:38 +0000
commitb2ec034ac5748f97a2cbb0e811c355312e31c605 (patch)
tree341b2b814ec6330230f7460db287c79e7ff93f65 /fml/lib/FML/Process/Command.pm
parent8739d241ca3947fe11d625d30f752fe3e6552aeb (diff)
downloadfml8-b2ec034ac5748f97a2cbb0e811c355312e31c605.tar.gz
fml8-b2ec034ac5748f97a2cbb0e811c355312e31c605.tar.bz2
fml8-b2ec034ac5748f97a2cbb0e811c355312e31c605.zip
use $curproc->credential();
Diffstat (limited to 'fml/lib/FML/Process/Command.pm')
-rw-r--r--fml/lib/FML/Process/Command.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/lib/FML/Process/Command.pm b/fml/lib/FML/Process/Command.pm
index 23591905..104eca98 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,2004,2005 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Command.pm,v 1.113 2005/06/04 08:49:08 fukachan Exp $
+# $FML: Command.pm,v 1.114 2005/08/10 15:03:24 fukachan Exp $
#
package FML::Process::Command;
@@ -347,7 +347,7 @@ sub _command_switch
my ($curproc, $context) = @_;
my $config = $curproc->config();
my $prompt = $config->{ command_mail_reply_prompt } || '>>>';
- my $cred = $curproc->{ credential }; # user credential
+ my $cred = $curproc->credential(); # user credential
my $sender = $cred->sender();
my $comname = $context->{ comname };
my $msg_args = $context->{ msg_args } || {};
@@ -422,7 +422,7 @@ sub _command_execute
my ($curproc, $command_args) = @_;
my $config = $curproc->config();
my $prompt = $config->{ command_mail_reply_prompt } || '>>>';
- my $cred = $curproc->{ credential };
+ my $cred = $curproc->credential();
my $sender = $cred->sender();
my $msg_args = $command_args->{ msg_args } || {};