If G-man infected player joins my server.

What title says.

If a G-man infected player joins my server, will I be infected?

Or is that only when I join another server or a addon has the lua virus in it?

It is only when a addon has it. The ‘virus’ can NOT spread from client to server.