From a7e8775efe507a980261af915ab0a3fac2e73a91 Mon Sep 17 00:00:00 2001 From: Anders Bergh Date: Fri, 11 Apr 2014 17:15:16 +0200 Subject: [PATCH] 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 --- modules/q.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/q.cpp b/modules/q.cpp index 5551b7a8..f6ba3c00 100644 --- a/modules/q.cpp +++ b/modules/q.cpp @@ -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();