Move module description headers to the top
This is cleaner. Note this was broken out of a much larger piece of work I did, so if there's any problems, I apologise!
This commit is contained in:
parent
6287d57fa9
commit
eeabf33a7c
127 changed files with 400 additions and 342 deletions
|
@ -33,10 +33,11 @@
|
|||
#include "modules.h"
|
||||
#include "s_conf.h"
|
||||
|
||||
static int mr_dumb_proxy(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static const char post_desc[] =
|
||||
"Ensure Web forms/proxies cannot connect by disconnecting on POST, GET, and PUT";
|
||||
|
||||
static int mr_dumb_proxy(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
|
||||
struct Message post_msgtab = {
|
||||
"POST", 0, 0, 0, 0,
|
||||
{{mr_dumb_proxy, 0}, mg_ignore, mg_ignore, mg_ignore, mg_ignore, mg_ignore}
|
||||
|
@ -50,7 +51,6 @@ struct Message put_msgtab = {
|
|||
{{mr_dumb_proxy, 0}, mg_ignore, mg_ignore, mg_ignore, mg_ignore, mg_ignore}
|
||||
};
|
||||
|
||||
|
||||
mapi_clist_av1 post_clist[] = {
|
||||
&post_msgtab, &get_msgtab, &put_msgtab, NULL
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue