Do a few more AV2 descriptions in modules.

This commit is contained in:
Elizabeth Myers 2016-03-07 01:38:14 -06:00
parent de2b673f5a
commit 3c88406edc
3 changed files with 12 additions and 3 deletions

View file

@ -48,7 +48,10 @@ struct Message accept_msgtab = {
mapi_clist_av1 accept_clist[] = { mapi_clist_av1 accept_clist[] = {
&accept_msgtab, NULL &accept_msgtab, NULL
}; };
DECLARE_MODULE_AV2(accept, NULL, NULL, accept_clist, NULL, NULL, NULL, NULL, NULL); static const char accept_desc[] =
"Provides the ACCEPT command for use with Caller ID/user mode +g";
DECLARE_MODULE_AV2(accept, NULL, NULL, accept_clist, NULL, NULL, NULL, NULL, accept_desc);
/* /*
* m_accept - ACCEPT command handler * m_accept - ACCEPT command handler

View file

@ -54,7 +54,10 @@ mapi_hlist_av1 admin_hlist[] = {
{ NULL, NULL } { NULL, NULL }
}; };
DECLARE_MODULE_AV2(admin, NULL, NULL, admin_clist, admin_hlist, NULL, NULL, NULL, NULL); const char admin_desc[] =
"Provides the ADMIN command to show server administrator information";
DECLARE_MODULE_AV2(admin, NULL, NULL, admin_clist, admin_hlist, NULL, NULL, NULL, admin_desc);
/* /*
* mr_admin - ADMIN command handler * mr_admin - ADMIN command handler

View file

@ -43,7 +43,10 @@ struct Message away_msgtab = {
}; };
mapi_clist_av1 away_clist[] = { &away_msgtab, NULL }; mapi_clist_av1 away_clist[] = { &away_msgtab, NULL };
DECLARE_MODULE_AV2(away, NULL, NULL, away_clist, NULL, NULL, NULL, NULL, NULL);
static const char away_desc[] = "Provides the AWAY command to set yourself away";
DECLARE_MODULE_AV2(away, NULL, NULL, away_clist, NULL, NULL, NULL, NULL, away_desc);
/*********************************************************************** /***********************************************************************
* m_away() - Added 14 Dec 1988 by jto. * m_away() - Added 14 Dec 1988 by jto.