summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-09-06 12:15:07 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-09-06 12:15:07 +0200
commit4876fefb40b3eded5eda181755852d7251daec9f (patch)
tree5fd617e5294ac4813a8d6e8b217827cdb4f8e28d
parent219316fe8dcc6f5b599e2cf2ef3bcf0f72a02938 (diff)
downloadbin-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-xmasterkey.pl4
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;