diff --git a/modules/m_rehash.c b/modules/m_rehash.c index 2dd96bc5..9d0af3db 100644 --- a/modules/m_rehash.c +++ b/modules/m_rehash.c @@ -46,6 +46,8 @@ static int mo_rehash(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int me_rehash(struct MsgBuf *, struct Client *, struct Client *, int, const char **); +static const char rehash_desc[] = + "Provides the REHASH command to reload configuration and other files"; struct Message rehash_msgtab = { "REHASH", 0, 0, 0, 0, @@ -53,7 +55,7 @@ struct Message rehash_msgtab = { }; mapi_clist_av1 rehash_clist[] = { &rehash_msgtab, NULL }; -DECLARE_MODULE_AV2(rehash, NULL, NULL, rehash_clist, NULL, NULL, NULL, NULL, NULL); +DECLARE_MODULE_AV2(rehash, NULL, NULL, rehash_clist, NULL, NULL, NULL, NULL, rehash_desc); struct hash_commands { diff --git a/modules/m_restart.c b/modules/m_restart.c index de229c69..114ee361 100644 --- a/modules/m_restart.c +++ b/modules/m_restart.c @@ -41,6 +41,7 @@ static int mo_restart(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int me_restart(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int do_restart(struct Client *source_p, const char *servername); +static const char restart_desc[] = "Provides the RESTART command to restart the server"; struct Message restart_msgtab = { "RESTART", 0, 0, 0, 0, @@ -48,7 +49,7 @@ struct Message restart_msgtab = { }; mapi_clist_av1 restart_clist[] = { &restart_msgtab, NULL }; -DECLARE_MODULE_AV2(restart, NULL, NULL, restart_clist, NULL, NULL, NULL, NULL, NULL); +DECLARE_MODULE_AV2(restart, NULL, NULL, restart_clist, NULL, NULL, NULL, NULL, restart_desc); /* * mo_restart diff --git a/modules/m_resv.c b/modules/m_resv.c index 9d73c8eb..8f010bcf 100644 --- a/modules/m_resv.c +++ b/modules/m_resv.c @@ -44,6 +44,8 @@ static int me_resv(struct MsgBuf *, struct Client *, struct Client *, int, const static int mo_unresv(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int ms_unresv(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int me_unresv(struct MsgBuf *, struct Client *, struct Client *, int, const char **); +static const char resv_desc[] = + "Provides management of reserved nicknames and channels using (UN)RESV"; struct Message resv_msgtab = { "RESV", 0, 0, 0, 0, @@ -57,7 +59,7 @@ struct Message unresv_msgtab = { mapi_clist_av1 resv_clist[] = { &resv_msgtab, &unresv_msgtab, NULL }; -DECLARE_MODULE_AV2(resv, NULL, NULL, resv_clist, NULL, NULL, NULL, NULL, NULL); +DECLARE_MODULE_AV2(resv, NULL, NULL, resv_clist, NULL, NULL, NULL, NULL, resv_desc); static void parse_resv(struct Client *source_p, const char *name, const char *reason, int temp_time, int propagated);