Fixed some stuff

This commit is contained in:
WolverinDEV
2020-04-03 19:26:22 +02:00
parent 8e4d52ddd2
commit 824aec6322
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -381,7 +381,7 @@ bool ConnectedClient::notifyClientLeftView(
std::shared_ptr<ConnectedClient> invoker,
bool lock_channel_tree) {
assert(!lock_channel_tree); /* not supported yet! */
assert(client && client != this && client->getClientId() != 0);
assert(client == this || (client && client->getClientId() != 0));
assert(client->currentChannel || &*client == this);
if(client != this) {