Legge leaves Bees for Gills
Edinson Cavani has declared himself happy at Napoli but said interested clubs should not be put off by the huge price tag over his head if they were serious about signing him.
Cavani has been linked with several clubs - including Arsenal, Manchester City and Juventus - after emerging as a world class forward over the past few seasons with Napoli.
The Serie A club have said they will not accept less than the 63million euro (?54million) release clause in the 25-year-old's contract, but that has not dampened the speculation.
And in an interview with Gazzetta dello Sport, Cavani said the release clause should not deter anyone who was serious about signing him.
"If a club has a clear project and they want to focus on me, they can't be frightened in front of this figure," he said.
"For now, I'm not thinking about [my future]," he added. "Then it will be up to the club to take into consideration what should be done..."
Cavani added that he would first speak to Napoli before making any decision.
"I am happy here," he said. "Napoli have given me a lot and I am trying to repay them. We'll talk about it."
Napoli are three points behind Juve in second place, but Cavani is confident they can close that gap.
"We have a big chance [to win the title] and we cannot ignore that," he said. "The numbers show that the Scudetto is within our reach.
"We can go all the way and we will do our utmost to make it happen. Even more so than Juventus, we are very hungry for success, just like they were last term.
"We are incredibly motivated. The team is focused on the task at hand and we want to make this dream come true. We are showing that we have the determination to win the title.
"It all depends on ourselves now. We will have to realise that nothing is impossible for us."
The 27-year-old centre-half, who joined the Bees from non-league Tonbridge Angels in 2009, moved to Kent on loan at the beginning of January.
That initial deal expired after Gillingham's win over Northampton on Tuesday night but Legge has now made the switch permanent.
Brentford manager Uwe Rosler told the club website: "I'd like to thank Leon for his contribution and his professionalism since he joined the club.
"I have a lot of respect for players that come into the game via non-league football, rather than the Academy system.
"He was very dedicated at Brentford and developed as a player but I couldn't give him his wish to play regular first-team football.
"I felt he was still an important member of the squad but I think it's very important that both parties are happy and we accepted Leon's desire to join Gillingham and wish him all the best for the future."