From 7aacf739504c81305fb773426cc778e00233b8f4 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sat, 25 Aug 2012 00:03:38 +0200 Subject: Add a config option to enable/disable the welcome notice sent to clients after successful registration Fixes #284 reported by @hoggeh --- src/configreader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/configreader.cpp') diff --git a/src/configreader.cpp b/src/configreader.cpp index 166e124ca..b8796430b 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -520,6 +520,7 @@ void ServerConfig::Fill() Limits.MaxAway = ConfValue("limits")->getInt("maxaway", 200); InvBypassModes = options->getBool("invitebypassmodes", true); NoSnoticeStack = options->getBool("nosnoticestack", false); + WelcomeNotice = options->getBool("welcomenotice", true); range(SoftLimit, 10, ServerInstance->SE->GetMaxFds(), ServerInstance->SE->GetMaxFds(), ""); range(MaxConn, 0, SOMAXCONN, SOMAXCONN, ""); -- cgit v1.2.3