X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..9565aec4ba3122bd2c17bc32ee0cc57c948ac36f:/projects/sgconf/request.h?ds=sidebyside 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;