Reset is->group pointer in icb_remove so that we won't try to LIST_REMOVE
multiple times (happens when free is delayed by the DNS resolution).
This commit is contained in:
parent
e68221bca4
commit
96a2e311af
1
icb.c
1
icb.c
@ -429,6 +429,7 @@ icb_remove(struct icb_session *is, char *reason)
|
|||||||
icb_status_group(is->group, NULL, STATUS_SIGNOFF,
|
icb_status_group(is->group, NULL, STATUS_SIGNOFF,
|
||||||
"%s (%s@%s) just left", is->nick, is->client,
|
"%s (%s@%s) just left", is->nick, is->client,
|
||||||
is->host);
|
is->host);
|
||||||
|
is->group = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user