From 8dabb0d643b937f762618656b85cfac20fde58aa Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sat, 2 Jul 2011 03:12:36 +0000
Subject: [PATCH] New optional configuration file to enable/control optional
 behavior in stock or 3rd party JS modules. Created entry for the newuser.js
 module to begin with.

---
 ctrl/modopts.ini | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 ctrl/modopts.ini

diff --git a/ctrl/modopts.ini b/ctrl/modopts.ini
new file mode 100644
index 0000000000..a6cebbc44f
--- /dev/null
+++ b/ctrl/modopts.ini
@@ -0,0 +1,11 @@
+; $Id$
+
+; This file contains simple JS object defintions to enable/control the optional
+; behavior of various Synchronet stock and 3rd party JS modules (e.g. exec/*.js)
+
+; Modules which use this file should use options=load("modopts.js","modname") first
+
+[newuser]
+send_newuser_welcome = true // Set to false to disable the new user welcome msg
+ask_qnet=false				// Set to true to enable QWKnet Node question
+ask_sysop=false				// Set to true to enable Synchronet Sysop question
-- 
GitLab