OP is FYs own Wikipedia

Limey was a derogatory term used for sailors in the Royal Navy who used to put LEMON in their grog ( watered down rum ) which they later found to help prevent scurvy. They later changed that to limes which did not have as much vitamin C and was much less effective against scurvy.