X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/ac408af6cba5a230c66186d4389e60766c3a74a4..cb4ddd7268cb4d738ce46ccb309614ff1faed74b:/modules/m_accept.c diff --git a/modules/m_accept.c b/modules/m_accept.c index 06a341b..07c2227 100644 --- a/modules/m_accept.c +++ b/modules/m_accept.c @@ -151,7 +151,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'; @@ -166,7 +165,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);