X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/0f402ca493cf3e63e2b8f195e7b8c4c9887a8643..3898f97325dbed800d4b424e68a0c2858b8d8be7:/helpmod2/hchannel.c diff --git a/helpmod2/hchannel.c b/helpmod2/hchannel.c index 57a59368..459a0c47 100644 --- a/helpmod2/hchannel.c +++ b/helpmod2/hchannel.c @@ -102,7 +102,7 @@ int hchannel_del(hchannel *hchan) while (hchan->htickets) hticket_del(hchan->htickets, hchan); - localpartchannel(helpmodnick, hchan->real_channel); + localpartchannel(helpmodnick, hchan->real_channel, "Channel Removed"); free(hchan); @@ -331,6 +331,7 @@ void hchannels_dnmo(struct huser_struct *husr) break; } *hchanuser = tmp; + assert(*hchanuser != NULL); (*hchanuser)->next = NULL; if (on_desk(husr, huserchan)) {