X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..42c97c62f48cbdb0e991802ad61bdb4485b587b0:/projects/sgconf/request.h?ds=inline diff --git a/projects/sgconf/request.h b/projects/sgconf/request.h index dbd7d6db..6878f656 100644 --- a/projects/sgconf/request.h +++ b/projects/sgconf/request.h @@ -46,6 +46,9 @@ struct REQUEST { REQUEST() + : chgTariff(false), + createUser(false), + deleteUser(false) { for (int i = 0; i < DIR_NUM; i++) { @@ -55,9 +58,6 @@ REQUEST() for (int i = 0; i < USERDATA_NUM; i++) ud[i].reset(); - - createUser = false; - deleteUser = false; } RESETABLE server; @@ -77,6 +77,7 @@ bool deleteUser; RESETABLE usrMsg; RESETABLE credit; +RESETABLE creditExpire; RESETABLE usrPasswd; RESETABLE down; RESETABLE passive;