Browse Source

adminType is now set to an empty string if the type is "None" is returned in the client list.

pull/3/head
JustinAJ 10 years ago
parent
commit
5712b65d0f
  1. BIN
      Release/Plugins/RenX.Core.lib
  2. 7
      RenX.Core/RenX_Server.cpp

BIN
Release/Plugins/RenX.Core.lib

Binary file not shown.

7
RenX.Core/RenX_Server.cpp

@ -1051,7 +1051,12 @@ void RenX::Server::processLine(const Jupiter::ReadableString &line)
pair = table.getPair(STRING_LITERAL_AS_REFERENCE("Admin"));
if (pair != nullptr)
player->adminType = pair->getValue();
{
if (pair->getValue().equals("None"))
player->adminType = "";
else
player->adminType = pair->getValue();
}
};
Jupiter::INIFile::Section::KeyValuePair *pair = table.getPair(STRING_LITERAL_AS_REFERENCE("PlayerLog"));
if (pair != nullptr)

Loading…
Cancel
Save