diff --git a/Release/Plugins/RenX.Core.lib b/Release/Plugins/RenX.Core.lib index 5de8d20..8f31900 100644 Binary files a/Release/Plugins/RenX.Core.lib and b/Release/Plugins/RenX.Core.lib differ diff --git a/RenX.Core/RenX_Server.cpp b/RenX.Core/RenX_Server.cpp index b4dbc44..49c4ab9 100644 --- a/RenX.Core/RenX_Server.cpp +++ b/RenX.Core/RenX_Server.cpp @@ -204,12 +204,12 @@ int RenX::Server::sendMessage(const Jupiter::ReadableString &message) return r; } else - return RenX::Server::sock.send("chostsay "_jrs + message + '\n'); + return RenX::Server::sock.send("chostsay "_jrs + message + "\n"_jrs); } int RenX::Server::sendMessage(const RenX::PlayerInfo *player, const Jupiter::ReadableString &message) { - auto cmd = "chostprivatesay pid"_jrs + Jupiter::StringS::Format("%d ", player->id) + message + '\n'; + auto cmd = "chostprivatesay pid"_jrs + Jupiter::StringS::Format("%d ", player->id) + message + "\n"_jrs; RenX::sanitizeString(cmd); return RenX::Server::sock.send(cmd); }