aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2012-08-25 00:03:38 +0200
committerGravatar attilamolnar2012-08-25 00:37:04 +0200
commit7aacf739504c81305fb773426cc778e00233b8f4 (patch)
tree4099711b8908799e908f4e3599530368afc629dd /src/configreader.cpp
parentRemove reference to m_ziplinks from modules.conf.unreal and modules.conf.char... (diff)
Add a config option to enable/disable the welcome notice sent to clients after successful registration
Fixes #284 reported by @hoggeh
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp1
1 files changed, 1 insertions, 0 deletions
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(), "<performance:softlimit>");
range(MaxConn, 0, SOMAXCONN, SOMAXCONN, "<performance:somaxconn>");