]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/channel.c
[svn] allocate_channel(): no need to truncate name, its only caller already does it
[irc/rqf/shadowircd.git] / src / channel.c
index d6161d0d65f8bdea8130245fa24e32f284a24f96..709eb2d3aa22b3a366424abad155102badc546e4 100644 (file)
@@ -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 3578 2007-11-07 21: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);
 }