X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b3139bf3f37b3b0244efea8b4b5e5a7d0bc90095..3c830ad0bc5107acead026251cadd71d08a28308:/projects/sgconf/request.h diff --git a/projects/sgconf/request.h b/projects/sgconf/request.h index bca3c148..61222127 100644 --- a/projects/sgconf/request.h +++ b/projects/sgconf/request.h @@ -54,14 +54,12 @@ REQUEST() { for (int i = 0; i < DIR_NUM; i++) { - sessionUpload[i].reset(); - sessionDownload[i].reset(); - monthUpload[i].reset(); - monthDownload[i].reset(); + u[i].reset(); + d[i].reset(); } for (int i = 0; i < USERDATA_NUM; i++) - userData[i].reset(); + ud[i].reset(); } RESETABLE server; @@ -90,13 +88,10 @@ RESETABLE disableDetailStat; RESETABLE alwaysOnline; RESETABLE prepaidTraff; -RESETABLE sessionUpload[DIR_NUM]; -RESETABLE sessionDownload[DIR_NUM]; +RESETABLE u[DIR_NUM]; +RESETABLE d[DIR_NUM]; -RESETABLE monthUpload[DIR_NUM]; -RESETABLE monthDownload[DIR_NUM]; - -RESETABLE userData[USERDATA_NUM]; +RESETABLE ud[USERDATA_NUM]; RESETABLE note; RESETABLE name;