return stream.str();
}
if (name == "login") return login;
- if (name == "ip") return currIP.ToString();
+ if (name == "currIP") return currIP.ToString();
if (name == "enabledDirs") return GetEnabledDirs();
- if (property.Exists(name)) return property.GetPropertyValue(name);
+ if (property.Exists(name))
+ return property.GetPropertyValue(name);
else
{
WriteServLog("User’s parameter '%s' does not exist.", name.c_str());
realName (conf.realName, "realName", false, false, GetStgLogger(), sd, properties),
credit (conf.credit, "credit", false, false, GetStgLogger(), sd, properties),
creditExpire(conf.creditExpire, "creditExpire", false, false, GetStgLogger(), sd, properties),
- ips (conf.ips, "IP", false, false, GetStgLogger(), sd, properties),
+ ips (conf.ips, "ips", false, false, GetStgLogger(), sd, properties),
userdata0 (conf.userdata[0], "userdata0", false, false, GetStgLogger(), sd, properties),
userdata1 (conf.userdata[1], "userdata1", false, false, GetStgLogger(), sd, properties),
userdata2 (conf.userdata[2], "userdata2", false, false, GetStgLogger(), sd, properties),