]> jfr.im git - solanum.git/blobdiff - modules/m_accept.c
Remove trailing whitespace from all .c and .h files.
[solanum.git] / modules / m_accept.c
index 06a341b4a4e75315d038c02962a913a308b64938..afe96233ac156b82e9c298678a9bf4aefce0bd09 100644 (file)
@@ -140,7 +140,7 @@ m_accept(struct Client *client_p, struct Client *source_p, int parc, const char
  *             - pointer to addbuffer
  *             - pointer to remove buffer
  *             - pointer to list of nicks
- * output      - 
+ * output      -
  * side effects - addbuf/delbuf are modified to give valid nicks
  */
 static void
@@ -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,9 +165,9 @@ 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, 
+                       sendto_one_numeric(source_p, ERR_NOSUCHNICK,
                                           form_str(ERR_NOSUCHNICK), name);
                        continue;
                }
@@ -252,10 +251,10 @@ list_accepts(struct Client *source_p)
        }
 
        if(*nicks)
-               sendto_one(source_p, form_str(RPL_ACCEPTLIST), 
+               sendto_one(source_p, form_str(RPL_ACCEPTLIST),
                           me.name, source_p->name, nicks);
 
-       sendto_one(source_p, form_str(RPL_ENDOFACCEPT), 
+       sendto_one(source_p, form_str(RPL_ENDOFACCEPT),
                   me.name, source_p->name);
 
 }