1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

CSM: add requested CSM_RF_READ_PLAYERINFO (#8007)

* CSM: add requested CSM_RF_READ_PLAYERINFO

This new CSM limit permit to limit PLAYERINFO read from server.

It affects get_player_names call
This commit is contained in:
Loïc Blot
2018-12-24 10:51:10 +01:00
committed by GitHub
parent 9080d7c990
commit a5197eaebc
7 changed files with 20 additions and 6 deletions

View File

@@ -952,5 +952,6 @@ enum CSMRestrictionFlags : u64 {
CSM_RF_READ_ITEMDEFS = 0x00000004, // Disable itemdef lookups
CSM_RF_READ_NODEDEFS = 0x00000008, // Disable nodedef lookups
CSM_RF_LOOKUP_NODES = 0x00000010, // Limit node lookups
CSM_RF_READ_PLAYERINFO = 0x00000020, // Disable player info lookups
CSM_RF_ALL = 0xFFFFFFFF,
};