X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c9104229b3f6ee0320752780053ad97f5385359a..4bbe03bbc84116a4dfd1531448b4e9a5acf7f2bb:/projects/sgconf/request.h diff --git a/projects/sgconf/request.h b/projects/sgconf/request.h index 70c45059..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++) { - sessionUp[i].reset(); - sessionDown[i].reset(); - monthUp[i].reset(); - monthDown[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;