C stack overflow?

What would cause this to be spammed so horribly? I tried some searching, but couldn’t find anything. I don’t even know what code you’ll need to see, but here’s for when they die, ignore any horrible mistakes, as I’m a noob.
function playerDies( victim, weapon, killer )
if victim:Team() == 1 then
victim:SetTeam( 2 )
Jeep = victim:GetVehicle()
hook.Add( “PlayerDeath”, “playerDeathTest”, playerDies ) [/lua]