X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/dcbd1d073ce95872926ada4f3d0603afa511ab4d..refs/tags/shadowircd-6.2.0-beta1:/modules/m_accept.c?ds=sidebyside diff --git a/modules/m_accept.c b/modules/m_accept.c index 3af9c9e..76a22ab 100644 --- a/modules/m_accept.c +++ b/modules/m_accept.c @@ -21,7 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: m_accept.c 254 2005-09-21 23:35:12Z nenolod $ */ #include "stdinc.h" @@ -54,7 +53,6 @@ DECLARE_MODULE_AV1(accept, NULL, NULL, accept_clist, NULL, NULL, "$Revision: 254 /* * m_accept - ACCEPT command handler - * parv[0] = sender prefix * parv[1] = servername */ static int @@ -152,7 +150,6 @@ build_nicklist(struct Client *source_p, char *addbuf, char *delbuf, const char * int lenadd; int lendel; int del; - struct Client *target_p; char *n = LOCAL_COPY(nicks); *addbuf = *delbuf = '\0'; @@ -167,7 +164,7 @@ build_nicklist(struct Client *source_p, char *addbuf, char *delbuf, const char * name++; } - if((target_p = find_named_person(name)) == NULL) + if(find_named_person(name) == NULL) { sendto_one_numeric(source_p, ERR_NOSUCHNICK, form_str(ERR_NOSUCHNICK), name);