summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;