Commit f3ea614f authored by rswindell's avatar rswindell
Browse files

New user netmail/e-mail address question can now be toggled off in SCFG.

parent 6f8c646d
......@@ -352,7 +352,7 @@ bool sbbs_t::logon()
if(!trashcan(useron.phone,"phone"))
break; } }
if(!(sys_status&SS_RLOGIN)
&& /* cfg.uq&UQ_EMAIL && */ !useron.netmail[0]) {
&& !(cfg.uq&UQ_NONETMAIL) && !useron.netmail[0]) {
while(online) {
bputs(text[EnterNetMailAddress]);
if(getstr(useron.netmail,LEN_NETMAIL,K_EDIT|K_AUTODEL|K_LINE)
......
......@@ -222,7 +222,7 @@ void sbbs_t::newuser()
else
break; }
if(!online) return;
while(!(sys_status&SS_RLOGIN) && /* cfg.uq&UQ_EMAIL && */ online) {
while(!(sys_status&SS_RLOGIN) && !(cfg.uq&UQ_NONETMAIL) && online) {
bputs(text[EnterNetMailAddress]);
if(getstr(useron.netmail,LEN_NETMAIL,K_EDIT|K_AUTODEL|K_LINE)
&& !trashcan(useron.netmail,"email"))
......
......@@ -117,6 +117,7 @@
#define UQ_XEDIT (1L<<15) /* Ask for external editor */
#define UQ_NODEF (1L<<16) /* Don't ask for default settings */
#define UQ_NOCOMMAS (1L<<17) /* Do not require commas in location */
#define UQ_NONETMAIL (1L<<18) /* Don't ask for e-mail/netmail address */
/* Different bits in sys_misc */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment