Browse Source

Revised previous commit

pull/3/head
Jessica James 9 years ago
parent
commit
24a8f7b426
  1. BIN
      Release/Plugins/RenX.Core.lib
  2. 3
      RenX.Core/RenX_Server.cpp

BIN
Release/Plugins/RenX.Core.lib

Binary file not shown.

3
RenX.Core/RenX_Server.cpp

@ -2874,12 +2874,11 @@ void RenX::Server::processLine(const Jupiter::ReadableString &line)
{ {
// Player | "as" | Type="moderator" / "administrator" // Player | "as" | Type="moderator" / "administrator"
RenX::PlayerInfo *player = parseGetPlayerOrAdd(tokens.getToken(2)); RenX::PlayerInfo *player = parseGetPlayerOrAdd(tokens.getToken(2));
player->adminType.erase();
for (size_t i = 0; i < xPlugins.size(); i++) for (size_t i = 0; i < xPlugins.size(); i++)
xPlugins.get(i)->RenX_OnAdminLogout(this, player); xPlugins.get(i)->RenX_OnAdminLogout(this, player);
player->adminType = Jupiter::ReferenceString::empty; player->adminType.erase();
} }
else if (subHeader.equals("Granted;")) else if (subHeader.equals("Granted;"))
{ {

Loading…
Cancel
Save