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:
Mike Belopuhov 2014-10-28 02:44:46 +01:00
parent e68221bca4
commit 96a2e311af

1
icb.c
View File

@ -429,6 +429,7 @@ icb_remove(struct icb_session *is, char *reason)
icb_status_group(is->group, NULL, STATUS_SIGNOFF,
"%s (%s@%s) just left", is->nick, is->client,
is->host);
is->group = NULL;
}
}