mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Q module: Don't enable the UseCloakedHost option by default.
On QuakeNet's ircd you can't unset user mode +x once set. But loading the Q module will set it immediately, possibly requiring a reconnect if you don't want to use a cloaked host. Signed-off-by: Anders Bergh <anders1@gmail.com>
This commit is contained in:
@@ -40,7 +40,7 @@ public:
|
||||
}
|
||||
|
||||
CString sTmp;
|
||||
m_bUseCloakedHost = (sTmp = GetNV("UseCloakedHost")).empty() ? true : sTmp.ToBool();
|
||||
m_bUseCloakedHost = (sTmp = GetNV("UseCloakedHost")).empty() ? false : sTmp.ToBool();
|
||||
m_bUseChallenge = (sTmp = GetNV("UseChallenge")).empty() ? true : sTmp.ToBool();
|
||||
m_bRequestPerms = GetNV("RequestPerms").ToBool();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user