diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-09-06 12:15:07 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-09-06 12:15:07 +0200 |
commit | 4876fefb40b3eded5eda181755852d7251daec9f (patch) | |
tree | 5fd617e5294ac4813a8d6e8b217827cdb4f8e28d | |
parent | 219316fe8dcc6f5b599e2cf2ef3bcf0f72a02938 (diff) | |
download | bin-4876fefb40b3eded5eda181755852d7251daec9f.tar.gz bin-4876fefb40b3eded5eda181755852d7251daec9f.tar.xz |
masterkey.pl: Rename varial from_ to sender_ for consistency
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | masterkey.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/masterkey.pl b/masterkey.pl index a55579a..41a167c 100755 --- a/masterkey.pl +++ b/masterkey.pl @@ -168,9 +168,9 @@ fun gpg_get_user($key, $email_regex) { return $user; } -fun build_email($command, $sender_key, $from_address_regex, $recipient_key, $recipient_address_regex, $subject, $body, $token) { +fun build_email($command, $sender_key, $sender_address_regex, $recipient_key, $recipient_address_regex, $subject, $body, $token) { # get from gpg keys - my ($sender_name, $sender_addr) = gpg_get_user($sender_key, $from_address_regex)->@{qw(name email)}; + my ($sender_name, $sender_addr) = gpg_get_user($sender_key, $sender_address_regex)->@{qw(name email)}; my ($recipient_name, $recipient_addr) = gpg_get_user($recipient_key, $recipient_address_regex)->@{qw(name email)}; my %values; |