aboutsummaryrefslogtreecommitdiff
path: root/lib/Sietima/Role/NoMail.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sietima/Role/NoMail.pm')
-rw-r--r--lib/Sietima/Role/NoMail.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Sietima/Role/NoMail.pm b/lib/Sietima/Role/NoMail.pm
index 5f6dd77..7db58da 100644
--- a/lib/Sietima/Role/NoMail.pm
+++ b/lib/Sietima/Role/NoMail.pm
@@ -23,6 +23,13 @@ A L<< C<Sietima> >> list with this role applied will not send messages
to subscribers that have the C<wants_mail> preference set to a false
value.
+=head1 MODIFIED METHODS
+
+=head2 C<subscribers_to_send_to>
+
+Filters out subscribers that have the C<wants_mail> preference set to
+a false value.
+
=cut
around subscribers_to_send_to => sub ($orig,$self,$mail) {