]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_ident.cpp
Fix for bug #791, if an error is set treat this as 'could not get certificate'
[user/henk/code/inspircd.git] / src / modules / m_ident.cpp
index 0a777cf222ac6493c90910c486d72b5b94a96d0b..90b09a46d681abd1bece8d8257739037c1307df3 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *         the file COPYING for details.
@@ -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;