]> git.stg.codes - stg.git/blobdiff - projects/sgconf/request.h
Add dependancy on module for install-bin targets
[stg.git] / projects / sgconf / request.h
index dbd7d6db434965cdf022b6867ab8b7687295a2ec..6878f6562fe590bdd6f46f7e5a43d458b8a2a3c7 100644 (file)
@@ -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<string>   server;
@@ -77,6 +77,7 @@ bool                deleteUser;
 
 RESETABLE<string>   usrMsg;
 RESETABLE<double>   credit;
+RESETABLE<time_t>   creditExpire;
 RESETABLE<string>   usrPasswd;
 RESETABLE<bool>     down;
 RESETABLE<bool>     passive;