git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1929
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2010-01-03 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/m_names.c (m_names): Terminate the buffer used for listing
+ clients who are not in any channel.
+
2010-01-03 Michael Poole <mdpoole@troilus.org>
* ircd/channel.c (find_delayed_joins): Move earlier in the file.
if (mlen + idx + NICKLEN + 3 > BUFSIZE) /* space, \r\n\0 */
{
+ buf[idx-1] = '\0';
send_reply(sptr, RPL_NAMREPLY, buf);
strcpy(buf, "* * :");
idx = 5;
}
}
if (flag)
+ {
+ buf[idx-1] = '\0';
send_reply(sptr, RPL_NAMREPLY, buf);
+ }
send_reply(sptr, RPL_ENDOFNAMES, "*");
}
else if ((chptr = FindChannel(para)) != NULL)