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:
Anders Bergh
2014-04-11 17:15:16 +02:00
parent 90bc025906
commit a7e8775efe

View File

@@ -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();