From e4b76e65025ce6039e6c07fa7c7b28962abd6e18 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Fri, 9 Aug 2013 18:10:48 +0200 Subject: Move host cycle logic into m_hostcycle --- src/configreader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index d2291556c..047a2b5cd 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -32,7 +32,7 @@ ServerConfig::ServerConfig() { RawLog = HideBans = HideSplits = UndernetMsgPrefix = false; - WildcardIPv6 = CycleHosts = InvBypassModes = true; + WildcardIPv6 = InvBypassModes = true; dns_timeout = 5; MaxTargets = 20; NetBufferSize = 10240; @@ -349,6 +349,7 @@ static const DeprecatedConfig ChangedConfig[] = { { "link", "transport", "", "has been moved to as of 2.0" }, { "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 as of 2.2" } }; @@ -405,7 +406,6 @@ void ServerConfig::Fill() RestrictBannedUsers = security->getBool("restrictbannedusers", true); GenericOper = security->getBool("genericoper"); SyntaxHints = options->getBool("syntaxhints"); - CycleHosts = options->getBool("cyclehosts"); CycleHostsFromUser = options->getBool("cyclehostsfromuser"); UndernetMsgPrefix = options->getBool("ircumsgprefix"); FullHostInTopic = options->getBool("hostintopic"); -- cgit v1.3.1-10-gc9f91