X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_names.c;h=6c84d5079b8bae2e4655e90c55a67e8fce5f5e91;hb=a36ad5e29241b0c89379947b13887cb6930ef3e0;hp=8b9509fbcc783ef875fd59966c51daff259fd180;hpb=294e34a86f03321700d8c6cfe340b9af0133cf74;p=ircu2.10.12-pk.git diff --git a/ircd/m_names.c b/ircd/m_names.c index 8b9509f..6c84d50 100644 --- a/ircd/m_names.c +++ b/ircd/m_names.c @@ -179,14 +179,6 @@ void do_names(struct Client* sptr, struct Channel* chptr, int filter) /* space, modifier, nick, \r \n \0 */ { send_reply(sptr, (filter & NAMES_DEL) ? RPL_DELNAMREPLY : RPL_NAMREPLY, buf); - strcpy(buf, "* "); - ircd_strncpy(buf + 2, chptr->chname, len + 1); - buf[len + 2] = ':'; - buf[len + 3] = '\0'; - if (PubChannel(chptr)) - *buf = '='; - else if (SecretChannel(chptr)) - *buf = '@'; idx = len + 4; flag = 0; needs_space=0;