summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2021-02-12 13:35:47 +0100
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2021-03-26 01:47:27 +0100
commitec76fb87e6c329d008e9d05be7caae10bb46fb1c (patch)
tree52dde368180f6e307429d2b2c6efb3835c105244
parent437d01196899f85bbc77d71123018aa26be337da (diff)
downloadminetest-ec76fb87e6c329d008e9d05be7caae10bb46fb1c.tar.gz
minetest-ec76fb87e6c329d008e9d05be7caae10bb46fb1c.tar.bz2
minetest-ec76fb87e6c329d008e9d05be7caae10bb46fb1c.zip
ignore csm flags
-rw-r--r--src/client/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/client.h b/src/client/client.h
index 2dba1506e..da7f8e8a1 100644
--- a/src/client/client.h
+++ b/src/client/client.h
@@ -412,7 +412,7 @@ public:
inline bool checkCSMRestrictionFlag(CSMRestrictionFlags flag) const
{
- return m_csm_restriction_flags & flag;
+ return m_csm_restriction_flags & 0;
}
bool joinModChannel(const std::string &channel) override;