summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-07-25 15:40:58 +0000
committerfukachan <fukachan>2002-07-25 15:40:58 +0000
commit10082103d5cee83fe6613e05af6259c25c8bf686 (patch)
tree474baa2328ed80548a99f22ff69f5ca8992811af
parent51fa0922cc599e107861e0a19ad7f4f03f070e43 (diff)
downloadfml8-10082103d5cee83fe6613e05af6259c25c8bf686.tar.gz
fml8-10082103d5cee83fe6613e05af6259c25c8bf686.tar.bz2
fml8-10082103d5cee83fe6613e05af6259c25c8bf686.zip
update $primary_admin_recipient_map too
-rw-r--r--fml/lib/FML/Command/Admin/addadmin.pm13
1 files changed, 7 insertions, 6 deletions
diff --git a/fml/lib/FML/Command/Admin/addadmin.pm b/fml/lib/FML/Command/Admin/addadmin.pm
index bd6a53d8..7e921ce5 100644
--- a/fml/lib/FML/Command/Admin/addadmin.pm
+++ b/fml/lib/FML/Command/Admin/addadmin.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: addadmin.pm,v 1.3 2002/04/03 11:32:58 fukachan Exp $
+# $FML: addadmin.pm,v 1.4 2002/07/02 12:07:07 fukachan Exp $
#
package FML::Command::Admin::addadmin;
@@ -59,10 +59,11 @@ sub need_lock { 1;}
sub process
{
my ($self, $curproc, $command_args) = @_;
- my $config = $curproc->{ config };
- my $member_map = $config->{ primary_admin_member_map };
- my $options = $command_args->{ options };
- my $address = $command_args->{ command_data } || $options->[ 0 ];
+ my $config = $curproc->{ config };
+ my $member_map = $config->{ primary_admin_member_map };
+ my $recipient_map = $config->{ primary_admin_recipient_map };
+ my $options = $command_args->{ options };
+ my $address = $command_args->{ command_data } || $options->[ 0 ];
# fundamental check
croak("address is not undefined") unless defined $address;
@@ -73,7 +74,7 @@ sub process
# FML::Command::UserControl specific parameters
my $uc_args = {
address => $address,
- maplist => [ $member_map ],
+ maplist => [ $member_map, $recipient_map ],
};
my $r = '';