From e92272c0593db1da55d422ec2cc26173dc232760 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Wed, 16 Sep 2020 13:24:16 -0700 Subject: [PATCH] modopts.ini setting to disable new-user survey question Set survey=false in the [newuser] section of modopts.ini to disable the "Where did you hear about this BBS?" new user question. --- exec/newuser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/newuser.js b/exec/newuser.js index 95ef1ca915..bde4e98da1 100644 --- a/exec/newuser.js +++ b/exec/newuser.js @@ -28,7 +28,7 @@ if(options.send_newuser_welcome) // backwards compatibility hack console.clear(); -if(!user.address.length && user.number>1) { +if(!user.address.length && user.number>1 && options.survey !== false) { print("\1y\1hWhere did you hear about this BBS?"); user.address=console.getstr(30,K_LINE); } -- GitLab