Fixed disconnect message
This commit is contained in:
parent
dbb7c322a2
commit
6fae66001e
@ -119,7 +119,7 @@ bool TSServer::unregisterClient(shared_ptr<ConnectedClient> cl, std::string reas
|
||||
chan_tree_lock.lock();
|
||||
|
||||
if(cl->currentChannel) //We dont have to make him invisible if he hasnt even a channel
|
||||
this->client_move(cl, nullptr, nullptr, "client destroyed", ViewReasonId::VREASON_SERVER_LEFT, false, chan_tree_lock);
|
||||
this->client_move(cl, nullptr, nullptr, reason, ViewReasonId::VREASON_SERVER_LEFT, false, chan_tree_lock);
|
||||
}
|
||||
|
||||
serverInstance->databaseHelper()->saveClientPermissions(this->ref(), cl->getClientDatabaseId(), cl->clientPermissions);
|
||||
|
Loading…
Reference in New Issue
Block a user