License server memory validation

This commit is contained in:
WolverinDEV
2020-04-03 19:07:03 +02:00
parent 240052da3a
commit 8e4d52ddd2
9 changed files with 28 additions and 7 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->getClientId() != 0);
assert(client && client != this && client->getClientId() != 0);
assert(client->currentChannel || &*client == this);
if(client != this) {