summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-11 05:44:27 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-11 05:44:27 +0000
commitcbe57eb858364cd31ccf399c59849927f21135c1 (patch)
tree0a62b721638786a944deb2f3a49cb26d8428db57 /src/modules
parent1a1f8dfa4c30cc2a71c867b459f5907999b85d1e (diff)
Make the ident module assume that a connect tag wants ident functionality unless told explicitly not, this matches the old behavior before the option was added.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11206 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_ident.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index 6790907e9..21c6bcd7b 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -372,7 +372,7 @@ class ModuleIdent : public Module
/* XXX: Fixme: does not respect port, limit, etc */
if ((InspIRCd::MatchCIDR(user->GetIPString(),hostn, ascii_case_insensitive_map)) || (InspIRCd::Match(user->host,hostn, ascii_case_insensitive_map)))
{
- bool useident = Conf->ReadFlag("connect", "useident", j);
+ bool useident = Conf->ReadFlag("connect", "useident", "yes", j);
if (!useident)
return 0;