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

Eliminate SS_INUEDIT

This hasn't done anything SBBSv3 - no way to enter internal user editor
recursively.
parent 6ba14952
No related branches found
No related tags found
No related merge requests found
......@@ -617,7 +617,6 @@ typedef enum { /* Values for xtrn_t.event */
#define SS_LCHAT (1 << 4) /* Local chat in progress */
#define SS_NEW_MONTH (1 << 8) // Execute System Monthly Event
#define SS_NEW_DAY (1 << 9) // Execute System Daily Event
#define SS_INUEDIT (1 << 10) /* Inside Alt-Useredit section */
#define SS_ABORT (1 << 11) /* Global abort input or output flag */
#define SS_SYSPAGE (1 << 12) /* Paging sysop */
#define SS_GURUCHAT (1 << 14) /* Guru chat in progress */
......
......@@ -56,9 +56,6 @@ void sbbs_t::useredit(int usernumber)
else
user.number = useron.number;
action = NODE_SYSP;
if (sys_status & SS_INUEDIT)
return;
sys_status |= SS_INUEDIT;
while (online) {
CLS;
attr(LIGHTGRAY);
......@@ -69,7 +66,6 @@ void sbbs_t::useredit(int usernumber)
if (!user.number) {
bputs(text[NoUserData]);
getkey(0);
sys_status &= ~SS_INUEDIT;
return;
}
}
......@@ -426,7 +422,6 @@ void sbbs_t::useredit(int usernumber)
case 'Q':
lncntr = 0;
CLS;
sys_status &= ~SS_INUEDIT;
free(ar); /* assertion here */
return;
case 'R':
......@@ -665,7 +660,6 @@ void sbbs_t::useredit(int usernumber)
break;
} /* switch */
} /* while */
sys_status &= ~SS_INUEDIT;
}
/****************************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment