summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/Command.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-06-27 08:25:49 +0000
committerfukachan <fukachan>2002-06-27 08:25:49 +0000
commitd52de31d2d90bfe70329636021be085b46f34d1a (patch)
treeaab56f274a82184749c87b40fe6657763da9b82f /fml/lib/FML/Process/Command.pm
parent3341c7ba22542b5ecd716bba5812c327e8c92987 (diff)
downloadfml8-d52de31d2d90bfe70329636021be085b46f34d1a.tar.gz
fml8-d52de31d2d90bfe70329636021be085b46f34d1a.tar.bz2
fml8-d52de31d2d90bfe70329636021be085b46f34d1a.zip
major overhaul: delayed loading of *.cf files. The loading is done
within prepare() method now to handle virtual domains properly.
Diffstat (limited to 'fml/lib/FML/Process/Command.pm')
-rw-r--r--fml/lib/FML/Process/Command.pm12
1 files changed, 7 insertions, 5 deletions
diff --git a/fml/lib/FML/Process/Command.pm b/fml/lib/FML/Process/Command.pm
index 239e189a..c64cb55a 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.60 2002/06/01 05:02:33 fukachan Exp $
+# $FML: Command.pm,v 1.61 2002/06/01 05:09:25 fukachan Exp $
#
package FML::Process::Command;
@@ -67,18 +67,20 @@ forward the request to SUPER CLASS.
=cut
# Descriptions: dummy
-# Arguments: OBJ($self) HASH_REF($args)
+# Arguments: OBJ($curproc) HASH_REF($args)
# Side Effects: none
# Return Value: none
sub prepare
{
- my ($self, $args) = @_;
- my $config = $self->{ config };
+ my ($curproc, $args) = @_;
+ my $config = $curproc->{ config };
my $eval = $config->get_hook( 'command_prepare_start_hook' );
if ($eval) { eval qq{ $eval; }; LogWarn($@) if $@; }
- $self->SUPER::prepare($args);
+ $curproc->resolve_ml_specific_variables( $args );
+ $curproc->load_config_files( $args->{ cf_list } );
+ $curproc->parse_incoming_message($args);
$eval = $config->get_hook( 'command_prepare_end_hook' );
if ($eval) { eval qq{ $eval; }; LogWarn($@) if $@; }