From 03a623a284b6c9f2f11f549c55333c45c4d91eab Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 10 Jul 2013 12:46:01 +0100 Subject: Rename to . This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers. --- src/commands/cmd_hostname_lookup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_hostname_lookup.cpp') 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; -- cgit v1.2.3