A 33-year-old Lancashire man has admitted supplying drugs.