POD updates, corrections, and clarifications.

This commit is contained in:
Jonathan Hall 2014-09-15 12:51:08 -05:00 committed by Jared Johnson
parent 2caa191334
commit 6ed109914c
2 changed files with 11 additions and 11 deletions

View File

@ -712,20 +712,20 @@ Allowed return codes are
plugin didn't find the requested value plugin didn't find the requested value
=item OK =item OK, @values
requested values as C<@list>, example: requested values as C<@list>, example:
return (OK, @{$config{$value}}) return (OK, @{$config{$key}})
if exists $config{$value}; if exists $config{$key};
return (DECLINED); return (DECLINED);
=back =back
Arguments: Arguments:
my ($self,$transaction,$value) = @_; my ($self,$transaction,$key) = @_;
# $value: the requested config item(s) # $key: the requested config item(s)
B<NOTE:> C<$transaction> may be C<undef>, depending when / where this hook B<NOTE:> C<$transaction> may be C<undef>, depending when / where this hook
is called. It's probably best not to try acessing it. is called. It's probably best not to try acessing it.
@ -744,20 +744,20 @@ Allowed return codes are
plugin didn't find the requested value plugin didn't find the requested value
=item OK =item OK, @values
requested values as C<@list>, example: requested values as C<@list>, example:
return (OK, @{$config{$value}}) return (OK, @{$config{$key}})
if exists $config{$value}; if exists $config{$key};
return (DECLINED); return (DECLINED);
=back =back
Arguments: Arguments:
my ($self,$transaction,$user,$value) = @_; my ($self,$transaction,$user,$key) = @_;
# $value: the requested config item(s) # $key: the requested config item(s)
Example plugin is F<user_config> from the qpsmtpd distribution. Example plugin is F<user_config> from the qpsmtpd distribution.

View File

@ -341,7 +341,7 @@ sub notes {
=head2 config($value) =head2 config($value)
Looks up a configuration directive based on this recipient, using any plugins that utilize Looks up a configuration directive based on this recipient, using any plugins that utilize
hook_rcpt_config hook_user_config
=cut =cut