mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-03 14:26:09 +00:00
Lua: Kick properly (with ClientKick), add chat message printing
This commit is contained in:
@@ -458,6 +458,7 @@ void TNetwork::ClientKick(TClient& c, const std::string& R) {
|
||||
if (c.GetDownSock())
|
||||
CloseSocketProper(c.GetDownSock());
|
||||
}
|
||||
|
||||
void TNetwork::Looper(const std::weak_ptr<TClient>& c) {
|
||||
while (!c.expired()) {
|
||||
auto Client = c.lock();
|
||||
|
||||
Reference in New Issue
Block a user