]> jfr.im git - solanum.git/blobdiff - ircd/parse.c
parse: get rid of report_messages
[solanum.git] / ircd / parse.c
index 6ec8ba4209447cadc6f4d0c7179230a2cb5c8d43..ca1ed7ebe70c881b2238105883ce693b523c6b82 100644 (file)
@@ -338,38 +338,6 @@ mod_del_cmd(struct Message *msg)
        irc_dictionary_delete(cmd_dict, msg->cmd);
 }
 
-/*
- * report_messages
- *
- * inputs      - pointer to client to report to
- * output      - NONE
- * side effects        - NONE
- */
-void
-report_messages(struct Client *source_p)
-{
-       struct DictionaryIter iter;
-       struct Message *msg;
-       struct alias_entry *amsg;
-
-       DICTIONARY_FOREACH(msg, &iter, cmd_dict)
-       {
-               s_assert(msg->cmd != NULL);
-               sendto_one_numeric(source_p, RPL_STATSCOMMANDS,
-                                  form_str(RPL_STATSCOMMANDS),
-                                  msg->cmd, msg->count,
-                                  msg->bytes, msg->rcount);
-       }
-
-       DICTIONARY_FOREACH(amsg, &iter, alias_dict)
-       {
-               s_assert(amsg->name != NULL);
-               sendto_one_numeric(source_p, RPL_STATSCOMMANDS,
-                                  form_str(RPL_STATSCOMMANDS),
-                                  amsg->name, amsg->hits, 0L, 0);
-       }
-}
-
 /* cancel_clients()
  *
  * inputs      - client who sent us the message, client with fake