summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-08-25 00:03:38 +0200
committerattilamolnar <attilamolnar@hush.com>2012-08-25 00:37:04 +0200
commit7aacf739504c81305fb773426cc778e00233b8f4 (patch)
tree4099711b8908799e908f4e3599530368afc629dd /include/configreader.h
parentd6861984e89ecf159efcebcf8c4ef12116e3aabd (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 'include/configreader.h')
-rw-r--r--include/configreader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h
index e360d3917..910b6cabf 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -598,6 +598,10 @@ class CoreExport ServerConfig
*/
bool NoSnoticeStack;
+ /** If true, a "Welcome to <networkname>!" NOTICE will be sent to
+ * connecting users
+ */
+ bool WelcomeNotice;
};
/** The background thread for config reading, so that reading from executable includes