X-Git-Url: https://snippets.scripts.mit.edu/gitweb.cgi/Scripts/git/.git/blobdiff_plain/3d8ed4199c06e59e2bdfe6cd2146b506fe8bfb16..c0df155c9b3c4287ea11289f71f63ae7ebb1f360:/barnowl/zcrypt.pl diff --git a/barnowl/zcrypt.pl b/barnowl/zcrypt.pl index 75d73a7..cf864fb 100644 --- a/barnowl/zcrypt.pl +++ b/barnowl/zcrypt.pl @@ -25,7 +25,7 @@ BarnOwl::new_command(decrypt => sub { my ($zo, $zi); my $pid = open2($zo, $zi, '/mit/outland/bin/zcrypt', '-D', @args) or die "Couldn't launch zcrypt\n"; my $decrypted; - print $zi $msg->body . "\n"; + print $zi $msg->fields[1] . "\n"; close $zi; while (<$zo>) { chomp;