Do AV2 descriptions for m_[i-k]*

This commit is contained in:
Elizabeth Myers 2016-03-07 02:11:50 -06:00
parent df1f1212a8
commit f1156bf07a
4 changed files with 15 additions and 4 deletions

View file

@ -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

View file

@ -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];

View file

@ -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);

View file

@ -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