summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Command/Admin/chaddr.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-06-29 10:02:42 +0000
committerfukachan <fukachan>2004-06-29 10:02:42 +0000
commitce0807500864b84210a239a550014fa6455dee76 (patch)
tree59258c9a3edcf4a59b8e63aa7e3f8661fad54539 /fml/lib/FML/Command/Admin/chaddr.pm
parent27e4f0966de9ee30fdacd9a0ea588f8b8c440791 (diff)
downloadfml8-ce0807500864b84210a239a550014fa6455dee76.tar.gz
fml8-ce0807500864b84210a239a550014fa6455dee76.tar.bz2
fml8-ce0807500864b84210a239a550014fa6455dee76.zip
overhaul:
o fix comments. o fix messages/error messages. o use //o if could. o specify initial value.
Diffstat (limited to 'fml/lib/FML/Command/Admin/chaddr.pm')
-rw-r--r--fml/lib/FML/Command/Admin/chaddr.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/fml/lib/FML/Command/Admin/chaddr.pm b/fml/lib/FML/Command/Admin/chaddr.pm
index e56ba3f5..218ac087 100644
--- a/fml/lib/FML/Command/Admin/chaddr.pm
+++ b/fml/lib/FML/Command/Admin/chaddr.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: chaddr.pm,v 1.25 2004/04/23 04:10:28 fukachan Exp $
+# $FML: chaddr.pm,v 1.26 2004/04/28 04:10:36 fukachan Exp $
#
package FML::Command::Admin::chaddr;
@@ -15,7 +15,7 @@ use Carp;
=head1 NAME
-FML::Command::Admin::chaddr - change the subscribed address
+FML::Command::Admin::chaddr - change the subscribed address.
=head1 SYNOPSIS
@@ -47,14 +47,14 @@ sub new
}
-# Descriptions: need lock or not
+# Descriptions: need lock or not.
# Arguments: none
# Side Effects: none
# Return Value: NUM( 1 or 0)
sub need_lock { 1;}
-# Descriptions: lock channel
+# Descriptions: lock channel.
# Arguments: none
# Side Effects: none
# Return Value: STR
@@ -115,7 +115,7 @@ sub process
{
my ($self, $curproc, $command_args) = @_;
my $config = $curproc->config();
- my $options = $command_args->{ options };
+ my $options = $command_args->{ options } || [];
# XXX We should always add/rewrite only $primary_*_map maps via
# XXX command mail, CUI and GUI.
@@ -123,7 +123,7 @@ sub process
# XXX 1) may be not writable.
# XXX 2) ambigous and dangerous
# XXX since the map is under controlled by other module.
- # XXX for example, one of member_maps is under admin_member_maps.
+ # XXX for example, $member_maps contains different classes.
my $member_map = $config->{ 'primary_member_map' };
my $recipient_map = $config->{ 'primary_recipient_map' };