diff --git a/modules/m_wallops.c b/modules/m_wallops.c index 8e0ba6e9..0f551391 100644 --- a/modules/m_wallops.c +++ b/modules/m_wallops.c @@ -39,6 +39,8 @@ static int mo_operwall(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int ms_operwall(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int ms_wallops(struct MsgBuf *, struct Client *, struct Client *, int, const char **); +static const char wallops_desc[] = + "Provides the WALLOPS and OPERWALL commands to message online operators"; struct Message wallops_msgtab = { "WALLOPS", 0, 0, 0, 0, @@ -50,7 +52,7 @@ struct Message operwall_msgtab = { }; mapi_clist_av1 wallops_clist[] = { &wallops_msgtab, &operwall_msgtab, NULL }; -DECLARE_MODULE_AV2(wallops, NULL, NULL, wallops_clist, NULL, NULL, NULL, NULL, NULL); +DECLARE_MODULE_AV2(wallops, NULL, NULL, wallops_clist, NULL, NULL, NULL, NULL, wallops_desc); /* * mo_operwall (write to *all* opers currently online) diff --git a/modules/m_who.c b/modules/m_who.c index f70f2d0e..5ea42ba6 100644 --- a/modules/m_who.c +++ b/modules/m_who.c @@ -62,6 +62,8 @@ struct who_format }; static int m_who(struct MsgBuf *, struct Client *, struct Client *, int, const char **); +static const char who_desc[] = + "Provides the WHO command to display information for users on a channel"; struct Message who_msgtab = { "WHO", 0, 0, 0, 0, @@ -82,7 +84,7 @@ _moddeinit(void) } mapi_clist_av1 who_clist[] = { &who_msgtab, NULL }; -DECLARE_MODULE_AV2(who, _modinit, _moddeinit, who_clist, NULL, NULL, NULL, NULL, NULL); +DECLARE_MODULE_AV2(who, _modinit, _moddeinit, who_clist, NULL, NULL, NULL, NULL, who_desc); static void do_who_on_channel(struct Client *source_p, struct Channel *chptr, int server_oper, int member, diff --git a/modules/m_whois.c b/modules/m_whois.c index f419308c..5afa2c94 100644 --- a/modules/m_whois.c +++ b/modules/m_whois.c @@ -50,6 +50,8 @@ static void single_whois(struct Client *source_p, struct Client *target_p, int o static int m_whois(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int ms_whois(struct MsgBuf *, struct Client *, struct Client *, int, const char **); +static const char whois_desc[] = + "Provides the WHOIS command to display information about a user"; struct Message whois_msgtab = { "WHOIS", 0, 0, 0, 0, @@ -68,7 +70,7 @@ mapi_hlist_av1 whois_hlist[] = { { NULL, NULL } }; -DECLARE_MODULE_AV2(whois, NULL, NULL, whois_clist, whois_hlist, NULL, NULL, NULL, NULL); +DECLARE_MODULE_AV2(whois, NULL, NULL, whois_clist, whois_hlist, NULL, NULL, NULL, whois_desc); /* * m_whois diff --git a/modules/m_whowas.c b/modules/m_whowas.c index 38107e93..5739dade 100644 --- a/modules/m_whowas.c +++ b/modules/m_whowas.c @@ -40,6 +40,8 @@ #include "modules.h" static int m_whowas(struct MsgBuf *, struct Client *, struct Client *, int, const char **); +static const char whowas_desc[] = + "Provides the WHOWAS command to display information on a disconnected user"; struct Message whowas_msgtab = { "WHOWAS", 0, 0, 0, 0, @@ -47,7 +49,7 @@ struct Message whowas_msgtab = { }; mapi_clist_av1 whowas_clist[] = { &whowas_msgtab, NULL }; -DECLARE_MODULE_AV2(whowas, NULL, NULL, whowas_clist, NULL, NULL, NULL, NULL, NULL); +DECLARE_MODULE_AV2(whowas, NULL, NULL, whowas_clist, NULL, NULL, NULL, NULL, whowas_desc); /* ** m_whowas