diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-23 20:53:38 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-23 20:53:38 +0000 |
commit | 119f638eda6541569b4ba4d567518fe06f2d3685 (patch) | |
tree | 725057c5d8437be2f22220695e7caec707b82bde /src | |
parent | bfdff71b4f2a4c234bbecee993245287b4f40745 (diff) |
Fix a bug reported downstream regarding cloaking keys
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7513 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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!"); } }; |