diff options
author | Peter Powell <petpow@saberuk.com> | 2013-07-10 12:46:01 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-08-10 14:04:09 +0100 |
commit | 03a623a284b6c9f2f11f549c55333c45c4d91eab (patch) | |
tree | 1177e0b3de9e53fbaf615341db82f3740ee3d819 /src/commands | |
parent | dafa2f3031c4abc7f5506385770c4fc743669b17 (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/commands')
-rw-r--r-- | src/commands/cmd_hostname_lookup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_hostname_lookup.cpp b/src/commands/cmd_hostname_lookup.cpp index 1352f0e78..f352443d0 100644 --- a/src/commands/cmd_hostname_lookup.cpp +++ b/src/commands/cmd_hostname_lookup.cpp @@ -199,7 +199,7 @@ class ModuleHostnameLookup : public Module void OnUserInit(LocalUser *user) { - if (!DNS || user->MyClass->nouserdns) + if (!DNS || !user->MyClass->resolvehostnames) { user->WriteNotice("*** Skipping host resolution (disabled by server administrator)"); return; |