Update rcon.cpp

This commit is contained in:
Maurice Heumann 2023-03-16 12:46:24 +01:00 committed by GitHub
parent 5f82e480c6
commit 5ea5c864b1

View File

@ -55,10 +55,11 @@ namespace rcon
void rcon_handler(const game::netadr_t& target, const network::data_view& data)
{
auto str_data = std::string(reinterpret_cast<const char*>(data.data()), data.size());
scheduler::once([target, s = std::move(str_data)]
/*scheduler::once([target, s = std::move(str_data)]
{
rcon_executer(target, s);
}, scheduler::main);
}, scheduler::main);*/
rcon_executer(target, str_data);
}
}