* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: channel.c 3432 2007-04-26 23:01:16Z jilles $
+ * $Id: channel.c 3580 2007-11-07 23:45:14Z jilles $
*/
#include "stdinc.h"
{
struct Channel *chptr;
chptr = BlockHeapAlloc(channel_heap);
- DupNString(chptr->chname, chname, CHANNELLEN);
+ DupString(chptr->chname, chname);
return (chptr);
}
{
struct Ban *bptr;
bptr = BlockHeapAlloc(ban_heap);
- DupNString(bptr->banstr, banstr, BANLEN);
- DupNString(bptr->who, who, BANLEN);
+ DupString(bptr->banstr, banstr);
+ DupString(bptr->who, who);
return (bptr);
}
free_channel_list(&chptr->banlist);
free_channel_list(&chptr->exceptlist);
free_channel_list(&chptr->invexlist);
+ free_channel_list(&chptr->quietlist);
/* Free the topic */
free_topic(chptr);