Add user seclevel to dorinfo1.def
This commit is contained in:
parent
2c956477f0
commit
ccd35b5647
3
doors.c
3
doors.c
@ -118,11 +118,10 @@ int write_door32sys(struct user_record *user) {
|
|||||||
fprintf(fptr, "%s\r\n", user->lastname);
|
fprintf(fptr, "%s\r\n", user->lastname);
|
||||||
fprintf(fptr, "%s\r\n", user->location);
|
fprintf(fptr, "%s\r\n", user->location);
|
||||||
fprintf(fptr, "1\r\n");
|
fprintf(fptr, "1\r\n");
|
||||||
fprintf(fptr, "30\r\n");
|
fprintf(fptr, "%d\r\n", user->sec_level);
|
||||||
fprintf(fptr, "%d\r\n", user->timeleft);
|
fprintf(fptr, "%d\r\n", user->timeleft);
|
||||||
fprintf(fptr, "-1\r\n");
|
fprintf(fptr, "-1\r\n");
|
||||||
|
|
||||||
|
|
||||||
fclose(fptr);
|
fclose(fptr);
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user