X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/74620ebafeb4a94b61a3747e39d27a4ec7a9fe5a..3898f97325dbed800d4b424e68a0c2858b8d8be7:/helpmod2/hchannel.c?ds=inline diff --git a/helpmod2/hchannel.c b/helpmod2/hchannel.c index 1ce77155..459a0c47 100644 --- a/helpmod2/hchannel.c +++ b/helpmod2/hchannel.c @@ -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)) {