- answer = GetOpenTag() + "<version value=\"" + SERVER_VERSION + "\"/>" +
- "<tariff_num value=\"" + x2str(tariffs.Count()) + "\"/>" +
- "<tariff value=\"2\"/>" +
- "<user_num value=\"" + x2str(users.Count()) + "\"/>" +
- "<uname value=\"" + name + "\"/>" +
- "<dir_num value=\"" + x2str(DIR_NUM) + "\"/>" +
- "<day_fee value=\"" + x2str(settings.GetDayFee()) + "\"/>";
+ m_answer = std::string("<ServerInfo><version value=\"") + SERVER_VERSION + "\"/>" +
+ "<tariff_num value=\"" + x2str(m_tariffs.Count()) + "\"/>" +
+ "<tariff value=\"2\"/>" +
+ "<user_num value=\"" + x2str(m_users.Count()) + "\"/>" +
+ "<uname value=\"" + name + "\"/>" +
+ "<dir_num value=\"" + x2str(DIR_NUM) + "\"/>" +
+ "<day_fee value=\"" + x2str(m_settings.GetDayFee()) + "\"/>";