From a0b80f4e0d8f194e6829d29b4b033f8899705569 Mon Sep 17 00:00:00 2001 From: peavey Date: Tue, 15 Apr 2008 01:30:35 +0000 Subject: [PATCH] Deprecate a few more config options. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9509 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/src/configreader.cpp b/src/configreader.cpp index 5f304bf02..c8a92c3bc 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -762,12 +762,25 @@ void ServerConfig::Read(bool bail, User* user) static const char* Once[] = { "server", "admin", "files", "power", "options", NULL }; Deprecated ChangedConfig[] = { - {"options", "hidelinks", "has been moved to as of 1.2a3"}, - {"options", "hidewhois", "has been moved to as of 1.2a3"}, - {"options", "nouserdns", "has been moved to as of 1.2a3"}, - {"options", "maxwho", "has been moved to as of 1.2a3"}, - {"options", "loglevel", "1.2 does not use the loglevel value. Please define tags instead."}, - {NULL, NULL, NULL} + {"options", "hidelinks", "has been moved to as of 1.2a3"}, + {"options", "hidewhois", "has been moved to as of 1.2a3"}, + {"options", "userstats", "has been moved to as of 1.2a3"}, + {"options", "customversion", "has been moved to as of 1.2a3"}, + {"options", "hidesplits", "has been moved to as of 1.2a3"}, + {"options", "hidebans", "has been moved to as of 1.2a3"}, + {"options", "hidekills", "has been moved to as of 1.2a3"}, + {"options", "operspywhois", "has been moved to as of 1.2a3"}, + {"options", "announceinvites", "has been moved to as of 1.2a3"}, + {"options", "hidemodes", "has been moved to as of 1.2a3"}, + {"options", "maxtargets", "has been moved to as of 1.2a3"}, + {"options", "nouserdns", "has been moved to as of 1.2a3"}, + {"options", "maxwho", "has been moved to as of 1.2a3"}, + {"options", "softlimit", "has been moved to as of 1.2a3"}, + {"options", "somaxconn", "has been moved to as of 1.2a3"}, + {"options", "netbuffersize", "has been moved to as of 1.2a3"}, + {"options", "maxwho", "has been moved to as of 1.2a3"}, + {"options", "loglevel", "1.2 does not use the loglevel value. Please define tags instead."}, + {NULL, NULL, NULL} }; /* These tags can occur ONCE or not at all */ -- 2.39.5