]> git.stg.codes - stg.git/commitdiff
Fixed cash-set.
authorMaxim Mamontov <faust.madf@gmail.com>
Thu, 29 May 2014 19:05:59 +0000 (22:05 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Thu, 29 May 2014 19:05:59 +0000 (22:05 +0300)
stglibs/srvconf.lib/parsers/chg_user.cpp

index 73eddfd24989803ac16b1b88e49e915e2c364d16..74247c3161d0ff6a714b671d5ca265c334690864 100644 (file)
@@ -128,7 +128,7 @@ if (!conf.services.empty())
 if (!stat.cashAdd.empty())
     stream << "<cash add=\"" << stat.cashAdd.data().first << "\" msg=\"" << Encode12str(stat.cashAdd.data().second) << "\"/>";
 else if (!stat.cashSet.empty())
-    stream << "<cash set=\"" << stat.cashAdd.data().first << "\" msg=\"" << Encode12str(stat.cashAdd.data().second) << "\"/>";
+    stream << "<cash set=\"" << stat.cashSet.data().first << "\" msg=\"" << Encode12str(stat.cashSet.data().second) << "\"/>";
 
 appendResetable(stream, "freeMb", stat.freeMb);