X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..04c52c861598a001bfe217ef6ebe5c4c0d4c6354:/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;