Add user seclevel to dorinfo1.def

This commit is contained in:
Andrew Pamment 2017-04-10 16:21:14 +10:00
parent 2c956477f0
commit ccd35b5647

View File

@ -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);