diff options
| author | 2013-07-10 12:46:01 +0100 | |
|---|---|---|
| committer | 2013-08-10 14:04:09 +0100 | |
| commit | 03a623a284b6c9f2f11f549c55333c45c4d91eab (patch) | |
| tree | 1177e0b3de9e53fbaf615341db82f3740ee3d819 /src/configreader.cpp | |
| parent | Remove virtual User::GetClass() (but keep LocalUser::GetClass()) (diff) | |
| download | inspircd++-03a623a284b6c9f2f11f549c55333c45c4d91eab.tar.gz inspircd++-03a623a284b6c9f2f11f549c55333c45c4d91eab.tar.bz2 inspircd++-03a623a284b6c9f2f11f549c55333c45c4d91eab.zip | |
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/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 047a2b5cd..dba23e27f 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -309,7 +309,7 @@ void ServerConfig::CrossCheckConnectBlocks(ServerConfig* current) me->maxchans = tag->getInt("maxchans", me->maxchans); me->maxconnwarn = tag->getBool("maxconnwarn", me->maxconnwarn); me->limit = tag->getInt("limit", me->limit); - me->nouserdns = tag->getBool("nouserdns", me->nouserdns); + me->resolvehostnames = tag->getBool("resolvehostnames", me->resolvehostnames); ClassMap::iterator oldMask = oldBlocksByMask.find(typeMask); if (oldMask != oldBlocksByMask.end()) @@ -350,7 +350,7 @@ static const DeprecatedConfig ChangedConfig[] = { { "module", "name", "m_chanprotect.so", "has been replaced with m_customprefix as of 2.2" }, { "module", "name", "m_halfop.so", "has been replaced with m_customprefix as of 2.2" }, { "options", "cyclehosts", "", "has been replaced with m_hostcycle as of 2.2" }, - { "performance", "nouserdns", "", "has been moved to <connect:nouserdns> as of 2.2" } + { "performance", "nouserdns", "", "has been moved to <connect:resolvehostnames> as of 2.2" } }; void ServerConfig::Fill() |
