From 3c88406edcde2be0a3ed6975c1cd3a3a985276ea Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Mon, 7 Mar 2016 01:38:14 -0600 Subject: [PATCH] Do a few more AV2 descriptions in modules. --- modules/m_accept.c | 5 ++++- modules/m_admin.c | 5 ++++- modules/m_away.c | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/modules/m_accept.c b/modules/m_accept.c index 4999fcd7e..835b7ea0f 100644 --- a/modules/m_accept.c +++ b/modules/m_accept.c @@ -48,7 +48,10 @@ struct Message accept_msgtab = { mapi_clist_av1 accept_clist[] = { &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 diff --git a/modules/m_admin.c b/modules/m_admin.c index 2f1d12427..57d363e08 100644 --- a/modules/m_admin.c +++ b/modules/m_admin.c @@ -54,7 +54,10 @@ mapi_hlist_av1 admin_hlist[] = { { 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 diff --git a/modules/m_away.c b/modules/m_away.c index 2718126c7..059e5b48b 100644 --- a/modules/m_away.c +++ b/modules/m_away.c @@ -43,7 +43,10 @@ struct Message away_msgtab = { }; 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.