X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b463b9f9a916554458fc576342125ff2f22efdac..refs/heads/ticket37:/projects/sgconf/request.h diff --git a/projects/sgconf/request.h b/projects/sgconf/request.h index 5ce4d093..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 sessionUp[DIR_NUM]; -RESETABLE sessionDown[DIR_NUM]; +RESETABLE u[DIR_NUM]; +RESETABLE d[DIR_NUM]; -RESETABLE monthUp[DIR_NUM]; -RESETABLE monthDown[DIR_NUM]; - -RESETABLE userData[USERDATA_NUM]; +RESETABLE ud[USERDATA_NUM]; RESETABLE note; RESETABLE name;