summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-07-10 12:46:01 +0100
committerPeter Powell <petpow@saberuk.com>2013-08-10 14:04:09 +0100
commit03a623a284b6c9f2f11f549c55333c45c4d91eab (patch)
tree1177e0b3de9e53fbaf615341db82f3740ee3d819 /src/modules
parentdafa2f3031c4abc7f5506385770c4fc743669b17 (diff)
Rename <connect:nouserdns> to <connect:resolvehostnames>.
This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_cgiirc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index 65671632d..2352fa217 100644
--- a/src/modules/m_cgiirc.cpp
+++ b/src/modules/m_cgiirc.cpp
@@ -206,7 +206,7 @@ class ModuleCgiIRC : public Module
RecheckClass(user);
// Don't create the resolver if the core couldn't put the user in a connect class or when dns is disabled
- if (user->quitting || !DNS || user->MyClass->nouserdns)
+ if (user->quitting || !DNS || !user->MyClass->resolvehostnames)
return;
CGIResolver* r = new CGIResolver(*this->DNS, this, cmd.notify, newip, user, (was_pass ? "PASS" : "IDENT"), waiting);