diff --git a/modules/m_dline.c b/modules/m_dline.c index fad28340..4d60a0df 100644 --- a/modules/m_dline.c +++ b/modules/m_dline.c @@ -60,7 +60,9 @@ struct Message undline_msgtab = { mapi_clist_av1 dline_clist[] = { &dline_msgtab, &undline_msgtab, NULL }; -DECLARE_MODULE_AV2(dline, NULL, NULL, dline_clist, NULL, NULL, NULL, NULL, NULL); +static const char dline_desc[] = "Provides the DLINE facility to ban users via IP address"; + +DECLARE_MODULE_AV2(dline, NULL, NULL, dline_clist, NULL, NULL, NULL, NULL, dline_desc); static int remove_temp_dline(struct ConfItem *); static int apply_dline(struct Client *, const char *, int, char *); diff --git a/modules/m_encap.c b/modules/m_encap.c index 814953c4..27c30c8e 100644 --- a/modules/m_encap.c +++ b/modules/m_encap.c @@ -50,7 +50,10 @@ struct Message encap_msgtab = { }; mapi_clist_av1 encap_clist[] = { &encap_msgtab, NULL }; -DECLARE_MODULE_AV2(encap, NULL, NULL, encap_clist, NULL, NULL, NULL, NULL, NULL); + +static const char encap_desc[] = "Provides the TS6 ENCAP facility"; + +DECLARE_MODULE_AV2(encap, NULL, NULL, encap_clist, NULL, NULL, NULL, NULL, encap_desc); /* ms_encap() * diff --git a/modules/m_etrace.c b/modules/m_etrace.c index a2b551e8..d7c9049f 100644 --- a/modules/m_etrace.c +++ b/modules/m_etrace.c @@ -83,7 +83,11 @@ _moddeinit(void) } mapi_clist_av1 etrace_clist[] = { &etrace_msgtab, &chantrace_msgtab, &masktrace_msgtab, NULL }; -DECLARE_MODULE_AV2(etrace, _modinit, _moddeinit, etrace_clist, NULL, NULL, NULL, NULL, NULL); + +static const char etrace_desc[] = + "Provides enhanced tracing facilities to opers (ETRACE, CHANTRACE, and MASKTRACE)"; + +DECLARE_MODULE_AV2(etrace, _modinit, _moddeinit, etrace_clist, NULL, NULL, NULL, NULL, etrace_desc); static void do_etrace(struct Client *source_p, int ipv4, int ipv6); static void do_etrace_full(struct Client *source_p); diff --git a/modules/m_grant.c b/modules/m_grant.c index fe41d1a1..1d799899 100644 --- a/modules/m_grant.c +++ b/modules/m_grant.c @@ -20,13 +20,16 @@ static int me_grant(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Cli static int do_grant(struct Client *source_p, struct Client *target_p, const char *new_privset); struct Message grant_msgtab = { - "GRANT", 0, 0, 0, 0, - { mg_ignore, mg_not_oper, mg_ignore, mg_ignore, {me_grant, 3}, {mo_grant, 3}} + "GRANT", 0, 0, 0, 0, + { mg_ignore, mg_not_oper, mg_ignore, mg_ignore, {me_grant, 3}, {mo_grant, 3}} }; mapi_clist_av1 grant_clist[] = { &grant_msgtab, NULL }; -DECLARE_MODULE_AV2(grant, NULL, NULL, grant_clist, NULL, NULL, NULL, NULL, NULL); +static const char grant_desc[] = + "Provides the grant facility for giving other users specific privilege sets"; + +DECLARE_MODULE_AV2(grant, NULL, NULL, grant_clist, NULL, NULL, NULL, NULL, grant_desc); static int mo_grant(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]) diff --git a/modules/m_help.c b/modules/m_help.c index 640a1cf3..8dceed5b 100644 --- a/modules/m_help.c +++ b/modules/m_help.c @@ -51,7 +51,11 @@ struct Message uhelp_msgtab = { }; mapi_clist_av1 help_clist[] = { &help_msgtab, &uhelp_msgtab, NULL }; -DECLARE_MODULE_AV2(help, NULL, NULL, help_clist, NULL, NULL, NULL, NULL, NULL); + +static const char help_desc[] = + "Provides the help facility for commands, modes, and server concepts"; + +DECLARE_MODULE_AV2(help, NULL, NULL, help_clist, NULL, NULL, NULL, NULL, help_desc); /* * m_help - HELP message handler