mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
client: fix up client_release_connids() too, pointed out by lp0
This commit is contained in:
parent
5c63bfe8b1
commit
c6098ed357
1 changed files with 2 additions and 2 deletions
|
@ -194,8 +194,8 @@ client_release_connids(struct Client *client_p)
|
|||
{
|
||||
rb_dlink_node *ptr, *ptr2;
|
||||
|
||||
s_assert(MyClient(client_p));
|
||||
if (!MyClient(client_p))
|
||||
s_assert(MyConnect(client_p));
|
||||
if (!MyConnect(client_p))
|
||||
return;
|
||||
|
||||
RB_DLINK_FOREACH_SAFE(ptr, ptr2, client_p->localClient->connids.head)
|
||||
|
|
Loading…
Reference in a new issue