From ccd35b5647c2a01b9717c591ede9edb5d4af9bf3 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Mon, 10 Apr 2017 16:21:14 +1000 Subject: [PATCH] Add user seclevel to dorinfo1.def --- doors.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doors.c b/doors.c index fcb97a2..6be5bb9 100644 --- a/doors.c +++ b/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->location); 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, "-1\r\n"); - - + fclose(fptr);