Hulk Hogan is continuing his fight to keep a sex tape private.

And during a court hearing on Thursday, a judge made a decision that may help the former wrestler's case.

Judge Pamela Campbell ruled in favor of Hogan today to allow a computer forensic tech to go through Gawker's electronic files to see if they leaked information to National Enquirer.

Hogan, born Terry Bollea, is suing the website Gawker for $100 million over the release of portions of a sex tape. A pretrial hearing is taking place Thursday in a St. Petersburg courtroom.

On Friday, Campbell ruled that FBI records involving the video can only be seen by lawyers for Hogan and the news website Gawker.

Hogan, a former WWE wrestler who grew up in Tampa, is suing Gawker for posting a video of him having sex with a woman who, at the time, was married to Hogan's friend, Bubba the Love Sponge Clem. The tape was leaked to Gawker, and the FBI investigated.

Hogan's attorneys are also accusing the website of leaking the sealed tapes that included rants from Hogan later deemed racist.

Gawker filed a public records request in federal court for more information about the investigation, and the judge ordered it released. But when it was put into public record in the civil lawsuit, she sealed the records. Multiple media companies are asking to open those records.

Information from the Associated Press was used in this report.