Skip to content
Snippets Groups Projects
Commit 75fae15f authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Move the SS_NEWUSER flag setting to just after prompting for initial terminal

settings and update the node*/terminal.ini immediately after. This will enable
better spying on the terminal during this part of the new user process.
The SS_NEWUSER flag is required for update_terminal() to do the right thing
(use the user settings).
parent ae706b80
No related branches found
No related tags found
No related merge requests found
Pipeline #8961 passed
...@@ -159,6 +159,8 @@ bool sbbs_t::newuser() ...@@ -159,6 +159,8 @@ bool sbbs_t::newuser()
else else
useron.misc &= ~NO_EXASCII; useron.misc &= ~NO_EXASCII;
} }
sys_status |= SS_NEWUSER;
update_nodeterm();
if (rlogin_name[0]) if (rlogin_name[0])
SAFECOPY(useron.alias, rlogin_name); SAFECOPY(useron.alias, rlogin_name);
...@@ -453,7 +455,6 @@ bool sbbs_t::newuser() ...@@ -453,7 +455,6 @@ bool sbbs_t::newuser()
SAFEPRINTF2(str, "%suser/%4.4u.dat", cfg.data_dir, useron.number); SAFEPRINTF2(str, "%suser/%4.4u.dat", cfg.data_dir, useron.number);
create_sif_dat(cfg.new_sif, str); create_sif_dat(cfg.new_sif, str);
} }
sys_status |= SS_NEWUSER;
if (!(cfg.uq & UQ_NODEF)) if (!(cfg.uq & UQ_NODEF))
user_config(&useron); user_config(&useron);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment