]> jfr.im git - solanum.git/blobdiff - modules/m_post.c
msg: remove last vestiges of the fakelag system. charybdis has never supported fakelag.
[solanum.git] / modules / m_post.c
index 50367e1d5f2807b7076f25905178347ea7fdd614..31b1e39ae34bc078b1beaef10f760a9e70e725ca 100644 (file)
 #include "modules.h"
 #include "s_conf.h"
 
-static int mr_dumb_proxy(struct Client *, struct Client *, int, const char **);
+static int mr_dumb_proxy(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
 struct Message post_msgtab = {
-       "POST", 0, 0, 0, MFLG_SLOW | MFLG_UNREG,
+       "POST", 0, 0, 0, 0,
        {{mr_dumb_proxy, 0}, mg_ignore, mg_ignore, mg_ignore, mg_ignore, mg_ignore}
 };
 struct Message get_msgtab = {
-       "GET", 0, 0, 0, MFLG_SLOW | MFLG_UNREG,
+       "GET", 0, 0, 0, 0,
        {{mr_dumb_proxy, 0}, mg_ignore, mg_ignore, mg_ignore, mg_ignore, mg_ignore}
 };
 struct Message put_msgtab = {
-       "PUT", 0, 0, 0, MFLG_SLOW | MFLG_UNREG,
+       "PUT", 0, 0, 0, 0,
        {{mr_dumb_proxy, 0}, mg_ignore, mg_ignore, mg_ignore, mg_ignore, mg_ignore}
 };
 
@@ -59,15 +59,11 @@ DECLARE_MODULE_AV1(post, NULL, NULL, post_clist, NULL, NULL, "$Revision: 498 $")
 
 /*
 ** mr_dumb_proxy
-**      parv[0] = sender prefix
 **      parv[1] = comment
 */
 static int
-mr_dumb_proxy(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+mr_dumb_proxy(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
-       sendto_realops_snomask(SNO_REJ, L_ALL,
-                            "HTTP Proxy disconnected: [%s@%s]",
-                            client_p->username, client_p->host);
        exit_client(client_p, source_p, source_p, "Client Exit");
 
        return 0;