IL-27 mediates the inhibitory effects of IFNAR signalling on IL-17A production by γδ T cells during secondary pneumococcal infection. Here, IL27 is linked to pneumococcal infection.