A judge has warned drug dealers who sell to revellers at one of London's biggest nightclubs that they should expect to be locked up.

Jailing Vishal Vinod, 21, from Muriel Avenue, Watford, for two years on Friday, Judge Ian Karsten QC said he had recently had to deal with a number of cases relating to the 1,800-capacity Fabric nightclub in Smithfield.

He said: "This court deals not infrequently with people who go to Fabric, and are caught.

"It is important they recognise that if they are caught they can expect to go to prison.

"Inevitably, it has to be an immediate custodial sentence."

Earlier, prosecutor Jag Shah said crimes from Fabric were "very common before this court".

Vinod, who had no previous convictions, was detained in the club's VIP toilets after revellers pointed him out to bouncers and said he had been offering to sell drugs on February 24 this year.

Following a search, he was found to have 88 tablets and two small wraps of cannabis. He told police: "I'm homeless - I need to sell them to make money."

It later emerged the tablets were mephedrone, a former "legal high" known as Meow-Meow which was criminalised in 2010. He had been telling punters the £5 pills were ecstasy.

During a strip search in police custody, Vinod was found to have packets of MDMA, a powdered form of ecstasy.

A total of 2.62 grams of the substance were found in 14 plastic "wraps", which were later tested to be between 75 and 95 per cent pure.

Vinod, admitted possessing class A and C drugs with intent to supply, and possessing cannabis.