Commit fbbdb154 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

When toggling extended file descriptions with the 'T' command, save user

Save the user's "misc" flags to the userbase when they use the 'T' command from the batch flagging prompt. Without this change, the option would automatically revert if/when the user record was re-read (which can happen at any time).
parent 73517eee
Pipeline #2054 passed with stage
in 7 minutes and 24 seconds
......@@ -494,6 +494,7 @@ int sbbs_t::batchflagprompt(smb_t* smb, file_t** bf, ulong* row, uint total
if(ch=='T') {
useron.misc ^= EXTDESC;
putuserrec(&cfg, useron.number, U_MISC, 0, ultoa(useron.misc,str,16));
return 2;
if(ch=='B' || ch=='D') { /* Flag for batch download */
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