From c6098ed35727a74f726e38be7960ae9c1fa9309e Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 23 Apr 2016 14:26:01 -0500 Subject: [PATCH] client: fix up client_release_connids() too, pointed out by lp0 --- ircd/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ircd/client.c b/ircd/client.c index 04870dba..bfa00dc2 100644 --- a/ircd/client.c +++ b/ircd/client.c @@ -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)