Update for lost areanumber
This commit is contained in:
parent
e98e35e244
commit
db83218bc7
@ -175,16 +175,11 @@ void SwapDate(char *Date3, char *Date4)
|
||||
void user()
|
||||
{
|
||||
FILE *pUsrConfig, *pLimits;
|
||||
int i, x;
|
||||
int FoundName = FALSE, iFoundLimit = FALSE;
|
||||
int i, x, FoundName = FALSE, iFoundLimit = FALSE, IsNew = FALSE;
|
||||
long l1, l2;
|
||||
char *token;
|
||||
char temp[PATH_MAX];
|
||||
char temp1[84];
|
||||
char *token, temp[PATH_MAX], temp1[84], UserName[37];
|
||||
time_t LastLogin;
|
||||
struct stat st;
|
||||
char UserName[37];
|
||||
int IsNew = FALSE;
|
||||
|
||||
grecno = 0;
|
||||
Syslog('+', "Unixmode login: %s", sUnixName);
|
||||
@ -261,6 +256,14 @@ void user()
|
||||
else
|
||||
UserCity(mypid, usrconfig.sUserName, (char *)"N/A");
|
||||
|
||||
/*
|
||||
* Set last file and message area so these numbers are saved when
|
||||
* the user hangs up or is logged off before het gets to the main
|
||||
* menu. Later in this function the areas are set permanent.
|
||||
*/
|
||||
iAreaNumber = usrconfig.iLastFileArea;
|
||||
iLastMsgArea = usrconfig.iLastMsgArea;
|
||||
|
||||
/*
|
||||
* See if this user is the Sysop.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user