AV2 descriptions for m_[no]*

This commit is contained in:
Elizabeth Myers 2016-03-07 02:45:37 -06:00
parent bc89faebd1
commit 1fe7d6083d
3 changed files with 13 additions and 3 deletions

View file

@ -45,7 +45,10 @@ struct Message names_msgtab = {
};
mapi_clist_av1 names_clist[] = { &names_msgtab, NULL };
DECLARE_MODULE_AV2(names, NULL, NULL, names_clist, NULL, NULL, NULL, NULL, NULL);
static const char names_desc[] = "Provides the NAMES command to view users on a channel";
DECLARE_MODULE_AV2(names, NULL, NULL, names_clist, NULL, NULL, NULL, NULL, names_desc);
static void names_global(struct Client *source_p);

View file

@ -47,7 +47,10 @@ struct Message oper_msgtab = {
};
mapi_clist_av1 oper_clist[] = { &oper_msgtab, NULL };
DECLARE_MODULE_AV2(oper, NULL, NULL, oper_clist, NULL, NULL, NULL, NULL, NULL);
static const char oper_desc[] = "Provides the OPER command to become an IRC operator";
DECLARE_MODULE_AV2(oper, NULL, NULL, oper_clist, NULL, NULL, NULL, NULL, oper_desc);
static int match_oper_password(const char *password, struct oper_conf *oper_p);

View file

@ -51,7 +51,11 @@ struct Message operspy_msgtab = {
};
mapi_clist_av1 operspy_clist[] = { &operspy_msgtab, NULL };
DECLARE_MODULE_AV2(operspy, NULL, NULL, operspy_clist, NULL, NULL, NULL, NULL, NULL);
static const char operspy_desc[] =
"Provides the operspy facility for viewing normally private data";
DECLARE_MODULE_AV2(operspy, NULL, NULL, operspy_clist, NULL, NULL, NULL, NULL, operspy_desc);
/* ms_operspy()
*