From 8932aac17a11be5a12e514fb2b4a31458cc9ebfd Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Tue, 14 Nov 2017 13:53:54 -0800 Subject: [PATCH] The kingdom was lost for the want of an each --- lib/Hush/List.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Hush/List.pm b/lib/Hush/List.pm index a178132..1585b04 100644 --- a/lib/Hush/List.pm +++ b/lib/Hush/List.pm @@ -277,7 +277,7 @@ sub send_message { # This must be a string to make JSON elder gods happy my $amount = "0.00"; # amount is hidden, so it does not identify list messages via metadata - while (my ($contact, $addr) = %contacts) { + while (my ($contact, $addr) = each %contacts) { debug("send_message: adding $contact => $addr to recipients"); $list_addrs->{$contact} = { address => $addr,