X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/de7760b87ad8ca38954140a738d66a133f7021f0..9af0b6faad1f5e6ca2206f7cddc02885a08e718c:/stglibs/srvconf.lib/parsers/chg_tariff.cpp diff --git a/stglibs/srvconf.lib/parsers/chg_tariff.cpp b/stglibs/srvconf.lib/parsers/chg_tariff.cpp index 80bb4cb2..8a1c56a4 100644 --- a/stglibs/srvconf.lib/parsers/chg_tariff.cpp +++ b/stglibs/srvconf.lib/parsers/chg_tariff.cpp @@ -60,13 +60,7 @@ appendResetable(stream, "passiveCost", data.tariffConf.passiveCost); appendResetable(stream, "free", data.tariffConf.free); if (!data.tariffConf.traffType.empty()) - switch (data.tariffConf.traffType.data()) - { - case TRAFF_UP: stream << ""; break; - case TRAFF_DOWN: stream << ""; break; - case TRAFF_UP_DOWN: stream << ""; break; - case TRAFF_MAX: stream << ""; break; - } + stream << ""; if (!data.tariffConf.period.empty()) switch (data.tariffConf.period.data())