X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/161f040940ad8422dfc03fadcb3a07ccd60201df..b2c208be091670e3c5259eba77187bae6ac6eece:/modules/m_accept.c?ds=sidebyside diff --git a/modules/m_accept.c b/modules/m_accept.c index 06a341b4..07c2227d 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);