diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-12-24 10:51:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-24 10:51:10 +0100 |
commit | a5197eaebc61ac6b555a640f36c0b427faef381d (patch) | |
tree | 48b4deb787731aba6b2c7f50e3664420cdbe94db /src/network/networkprotocol.h | |
parent | 9080d7c990e9efd52c418369c83dd365837f2f05 (diff) | |
download | minetest-a5197eaebc61ac6b555a640f36c0b427faef381d.tar.gz minetest-a5197eaebc61ac6b555a640f36c0b427faef381d.tar.bz2 minetest-a5197eaebc61ac6b555a640f36c0b427faef381d.zip |
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
Diffstat (limited to 'src/network/networkprotocol.h')
-rw-r--r-- | src/network/networkprotocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkprotocol.h b/src/network/networkprotocol.h index 0cf77b8c5..6d6708482 100644 --- a/src/network/networkprotocol.h +++ b/src/network/networkprotocol.h @@ -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, }; |