#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}
};
/*
** 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;