Update rcon.cpp
This commit is contained in:
parent
5f82e480c6
commit
5ea5c864b1
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user