X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/fea1ad522419ffa5d65202f1cf1c376dd2341a84..420b2c9a104d9aa7c232345614b8103292600678:/src/channel.c diff --git a/src/channel.c b/src/channel.c index d6161d0..c0fdcc3 100644 --- a/src/channel.c +++ b/src/channel.c @@ -21,7 +21,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: channel.c 3574 2007-10-27 21:56:53Z jilles $ + * $Id: channel.c 3580 2007-11-07 23:45:14Z jilles $ */ #include "stdinc.h" @@ -93,7 +93,7 @@ allocate_channel(const char *chname) { struct Channel *chptr; chptr = BlockHeapAlloc(channel_heap); - DupNString(chptr->chname, chname, CHANNELLEN); + DupString(chptr->chname, chname); return (chptr); } @@ -109,8 +109,8 @@ allocate_ban(const char *banstr, const char *who) { 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); }