- if (mlen + idx + NICKLEN + 3 > BUFSIZE) /* space, \r\n\0 */
- {
- send_reply(sptr, RPL_NAMREPLY, buf);
- strcpy(buf, "* * :");
- idx = 5;
- flag = 0;
- }
- }
- if (flag)
- send_reply(sptr, RPL_NAMREPLY, buf);
- send_reply(sptr, RPL_ENDOFNAMES, "*");
- return 1;
- }
-
- /*
- * Special Case 2: User is on this channel, requesting full names list.
- * (As performed with each /join) - ** High frequency usage **
- */
-
- chptr = FindChannel(para);
-
- if (chptr) {
- member = find_member_link(chptr, sptr);
- if (member)
- {
- do_names(sptr, chptr, (showingdelayed?NAMES_DEL:0)|NAMES_ALL);
- if (!EmptyString(para))