]> git.stg.codes - stg.git/commitdiff
Fixed credit.
authorMaxim Mamontov <faust.madf@gmail.com>
Thu, 29 May 2014 19:08:25 +0000 (22:08 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Thu, 29 May 2014 19:08:25 +0000 (22:08 +0300)
projects/sgconf/users.cpp

index 9331d6517974d69851566a76fc3e796a40dbd96f..e9be65a608b9df6815a069fd020079107fcaadb0 100644 (file)
@@ -321,6 +321,7 @@ SGCONF::MaybeSet(options, "name", conf.realName);
 SGCONF::MaybeSet(options, "corp", conf.corp);
 SGCONF::MaybeSet(options, "services", conf.services, ConvServices);
 SGCONF::MaybeSet(options, "group", conf.group);
+SGCONF::MaybeSet(options, "credit", conf.credit);
 SGCONF::MaybeSet(options, "next-tariff", conf.nextTariff);
 SGCONF::MaybeSet(options, "user-data", conf.userdata, ConvStringList);
 SGCONF::MaybeSet(options, "credit-expire", conf.creditExpire, ConvCreditExpire);
@@ -356,6 +357,7 @@ SGCONF::MaybeSet(options, "name", conf.realName);
 SGCONF::MaybeSet(options, "corp", conf.corp);
 SGCONF::MaybeSet(options, "services", conf.services, ConvServices);
 SGCONF::MaybeSet(options, "group", conf.group);
+SGCONF::MaybeSet(options, "credit", conf.credit);
 SGCONF::MaybeSet(options, "next-tariff", conf.nextTariff);
 SGCONF::MaybeSet(options, "user-data", conf.userdata, ConvStringList);
 SGCONF::MaybeSet(options, "credit-expire", conf.creditExpire, ConvCreditExpire);