Permalink
Browse files

fix pgpopts

currently they are not passed on to the gpg binary.
  • Loading branch information...
1 parent fd2e965 commit 0eee6935244564ecbc151d7f587d27b8ad1d48b3 @moritz committed Oct 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Net/Whois/Object.pm
View
2 lib/Net/Whois/Object.pm
@@ -700,7 +700,7 @@ sub _syncupdates_submit {
my ( $self, $text, $options ) = @_;
if ( exists $options->{pgpkey} ) {
- $text = $self->_pgp_sign( $text, { pgpkey => $options->{pgpkey} } );
+ $text = $self->_pgp_sign( $text, $options );
} elsif ( exists $options->{password} ) {
my $password = $options->{password};
chomp $password;

0 comments on commit 0eee693

Please sign in to comment.