diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_cloaking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index dfa5ee4e8..4ef903392 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -253,7 +253,7 @@ class CloakUser : public ModeHandler if (prefix.empty()) prefix = ServerInstance->Config->Network; - if (!key1 && !key2 && !key3 && !key4) + if (!key1 || !key2 || !key3 || !key4) throw ModuleException("You have not defined cloak keys for m_cloaking!!! THIS IS INSECURE AND SHOULD BE CHECKED!"); } }; |