X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/7c995c8f062b1e4faf919c7c1e8ef8090b3bf180..102a98fb1218ebee228837b895d7132e7d2628ec:/projects/stargazer/user_impl.cpp diff --git a/projects/stargazer/user_impl.cpp b/projects/stargazer/user_impl.cpp index b2ac841f..35ec6efb 100644 --- a/projects/stargazer/user_impl.cpp +++ b/projects/stargazer/user_impl.cpp @@ -1474,15 +1474,15 @@ while (it != messages.end()) //----------------------------------------------------------------------------- std::string USER_IMPL::GetParamValue(const std::string & name) const { - if (name == "id") +if (name == "id") { std::stringstream stream; stream << id; return stream.str();; } - if (name == "login") return login; - if (name == "ip") return currIP.ToString(); - return properties.GetPropertyValue(&name); +if (name == "login") return login; +if (name == "ip") return currIP.ToString(); +return property.GetPropertyValue(&name); //if (name == "freeMb") return property.freeMb.ToString(); //if (name == "passive") return property.passive.ToString(); //if (name == "disabled") return property.disabled.ToString();