Browse Source

Updated parsing for "changename" RCON command

pull/3/head
JustinAJ 9 years ago
parent
commit
513a421cb1
  1. BIN
      Release/Plugins/RenX.Core.lib
  2. 2
      RenX.Core/RenX_Server.cpp

BIN
Release/Plugins/RenX.Core.lib

Binary file not shown.

2
RenX.Core/RenX_Server.cpp

@ -1639,7 +1639,7 @@ void RenX::Server::processLine(const Jupiter::ReadableString &line)
Jupiter::StringS newName = tokens.getToken(2); Jupiter::StringS newName = tokens.getToken(2);
for (size_t i = 0; i < xPlugins.size(); i++) for (size_t i = 0; i < xPlugins.size(); i++)
xPlugins.get(i)->RenX_OnNameChange(this, player, newName); xPlugins.get(i)->RenX_OnNameChange(this, player, newName);
player->name = newName; player->name = tokens.getToken(2).gotoToken(2, ',');
} }
break; break;
case 'l': case 'l':

Loading…
Cancel
Save