diff --git a/modules/m_info.c b/modules/m_info.c index 2e4f7f5a..1c636025 100644 --- a/modules/m_info.c +++ b/modules/m_info.c @@ -60,7 +60,10 @@ mapi_hlist_av1 info_hlist[] = { { NULL, NULL } }; -DECLARE_MODULE_AV2(info, NULL, NULL, info_clist, info_hlist, NULL, NULL, NULL, NULL); +static const char info_desc[] = + "Provides the INFO command for retrieving server copyright, credits, and other info"; + +DECLARE_MODULE_AV2(info, NULL, NULL, info_clist, info_hlist, NULL, NULL, NULL, info_desc); /* * jdc -- Structure for our configuration value table diff --git a/modules/m_ison.c b/modules/m_ison.c index d6f4c0a7..bb545cfd 100644 --- a/modules/m_ison.c +++ b/modules/m_ison.c @@ -45,7 +45,10 @@ struct Message ison_msgtab = { }; mapi_clist_av1 ison_clist[] = { &ison_msgtab, NULL }; -DECLARE_MODULE_AV2(ison, NULL, NULL, ison_clist, NULL, NULL, NULL, NULL, NULL); + +static const char ison_desc[] = "Provides the ISON command to check if a set of users is online"; + +DECLARE_MODULE_AV2(ison, NULL, NULL, ison_clist, NULL, NULL, NULL, NULL, ison_desc); static char buf[BUFSIZE]; static char buf2[BUFSIZE]; diff --git a/modules/m_kline.c b/modules/m_kline.c index 0377bd53..7a2273c5 100644 --- a/modules/m_kline.c +++ b/modules/m_kline.c @@ -63,7 +63,9 @@ struct Message unkline_msgtab = { mapi_clist_av1 kline_clist[] = { &kline_msgtab, &unkline_msgtab, NULL }; -DECLARE_MODULE_AV2(kline, NULL, NULL, kline_clist, NULL, NULL, NULL, NULL, NULL); +static const char kline_desc[] = "Provides the KLINE facility to ban users via hostmask"; + +DECLARE_MODULE_AV2(kline, NULL, NULL, kline_clist, NULL, NULL, NULL, NULL, kline_desc); /* Local function prototypes */ static int find_user_host(struct Client *source_p, const char *userhost, char *user, char *host); diff --git a/modules/m_knock.c b/modules/m_knock.c index aae86dc4..58438c90 100644 --- a/modules/m_knock.c +++ b/modules/m_knock.c @@ -57,7 +57,10 @@ _moddeinit(void) } mapi_clist_av1 knock_clist[] = { &knock_msgtab, NULL }; -DECLARE_MODULE_AV2(knock, _modinit, _moddeinit, knock_clist, NULL, NULL, NULL, NULL, NULL); + +static const char knock_desc[] = "Provides the KNOCK command to ask for an invite to an invite-only channel"; + +DECLARE_MODULE_AV2(knock, _modinit, _moddeinit, knock_clist, NULL, NULL, NULL, NULL, knock_desc); /* m_knock * parv[1] = channel