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

Add user NetMail address edit option ('N' command) to UEDIT

A sysop can do the same by going through the 'I' (user config/settings
command), but that's a bit more convoluted.
parent aba24946
No related branches found
No related tags found
No related merge requests found
Pipeline #8120 passed
......@@ -399,6 +399,11 @@ void sbbs_t::useredit(int usernumber)
putuserstr(user.number, USER_LEVEL, str);
break;
case 'N':
bputs(text[EnterNetMailAddress]);
getstr(user.netmail, sizeof user.netmail - 1, K_LINE | K_EDIT | K_AUTODEL);
if (sys_status & SS_ABORT)
break;
putuserstr(user.number, USER_NETMAIL, user.netmail);
bputs(text[UeditNote]);
getstr(user.note, LEN_NOTE, K_LINE | K_EDIT | K_AUTODEL);
if (sys_status & SS_ABORT)
......
......@@ -13,7 +13,7 @@
wK bEdit Dates w} bSearch Up (Text or ARS) y
wL bLocation, Address, and Zip Code w{ bSearch Down (Text or ARS) y
wM bSecurity Level w/ bSet AR String for Search y
wN bNote (public) w~ bSet Leech Download Counter y
wN bNetmail Adddress and Note (public) w~ bSet Leech Download Counter y
wO bSysop Comment (private) w+ bAdjust Credits y
wP bPhone Number w* bAdjust Minutes y
wQ bQuit w$ bEdit Credits y
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment