]> jfr.im git - irc/quakenet/snircd.git/blobdiff - ircd/m_names.c
merge http://hg.quakenet.org/snircd/diff/0760b66e7816/ircd/m_names.c
[irc/quakenet/snircd.git] / ircd / m_names.c
index 4623f17868d7876176a22335c6144e86216cfbb9..4d2ddcd54ed6968f85f66ec5dd86c8ead0e4a8df 100644 (file)
@@ -189,14 +189,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] = 0;
-      strcat(buf, " :");
-      if (PubChannel(chptr))
-        *buf = '=';
-      else if (SecretChannel(chptr))
-        *buf = '@';
       idx = len + 4;
       flag = 0;
       needs_space=0;