diff --git a/src/d_netcmd.c b/src/d_netcmd.c
index 52e2e327137146e21b2aaabff6a8621f8ec2e173..5aea32f8f2a1e596c5069c926eb167391cd6e34f 100644
--- a/src/d_netcmd.c
+++ b/src/d_netcmd.c
@@ -2062,7 +2062,7 @@ static void Got_Suicide(UINT8 **cp, INT32 playernum)
 	INT32 suicideplayer = READINT32(*cp);
 
 	// You can't suicide someone else.  Nice try, there.
-	if (respawnplayer != playernum || (!G_PlatformGametype()))
+	if (suicideplayer != playernum || (!G_PlatformGametype()))
 	{
 		CONS_Alert(CONS_WARNING, M_GetText("Illegal suicide command received from %s\n"), player_names[playernum]);
 		if (server)