diff options
author | SmallJoker <mk939@ymail.com> | 2018-06-20 22:36:08 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-26 15:38:42 +0200 |
commit | db42542e271a00efd017b192f3a63e04f5b3dbf4 (patch) | |
tree | 98e8a8381121415f86527252663628b1245f34ec /src/server.h | |
parent | 7bdf5eae05f63a98a13e520f98e68b9e7d9d544b (diff) | |
download | minetest-db42542e271a00efd017b192f3a63e04f5b3dbf4.tar.gz minetest-db42542e271a00efd017b192f3a63e04f5b3dbf4.tar.bz2 minetest-db42542e271a00efd017b192f3a63e04f5b3dbf4.zip |
Rename CSM flavours to restrictions
& Satisfy LINT
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server.h b/src/server.h index c51686650..8ac61aaad 100644 --- a/src/server.h +++ b/src/server.h @@ -462,7 +462,7 @@ private: u32 SendActiveObjectRemoveAdd(session_t peer_id, const std::string &datas); void SendActiveObjectMessages(session_t peer_id, const std::string &datas, bool reliable = true); - void SendCSMFlavourLimits(session_t peer_id); + void SendCSMRestrictionFlags(session_t peer_id); /* Something random @@ -650,9 +650,9 @@ private: std::unordered_map<std::string, ModMetadata *> m_mod_storages; float m_mod_storage_save_timer = 10.0f; - // CSM flavour limits byteflag - u64 m_csm_flavour_limits = CSMFlavourLimit::CSM_FL_NONE; - u32 m_csm_noderange_limit = 8; + // CSM restrictions byteflag + u64 m_csm_restriction_flags = CSMRestrictionFlags::CSM_RF_NONE; + u32 m_csm_restriction_noderange = 8; // ModChannel manager std::unique_ptr<ModChannelMgr> m_modchannel_mgr; |