From: William Pitcock Date: Sat, 6 Aug 2016 04:37:05 +0000 (-0500) Subject: m_grant: convert jevolk's rewritten version to AV2 X-Git-Url: https://jfr.im/git/solanum.git/commitdiff_plain/f8f5ff705a002f55590550079df65383ed85b9d2 m_grant: convert jevolk's rewritten version to AV2 --- diff --git a/modules/m_grant.c b/modules/m_grant.c index 1f0b0502..36ab0b30 100644 --- a/modules/m_grant.c +++ b/modules/m_grant.c @@ -167,19 +167,24 @@ struct Message msgtab = } }; -mapi_clist_av1 clist[] = +mapi_clist_av1 grant_clist[] = { &msgtab, NULL }; -DECLARE_MODULE_AV1 +static const char grant_desc[] = + "Provides the grant facility for giving other users specific privilege sets"; + +DECLARE_MODULE_AV2 ( grant, NULL, NULL, - clist, + grant_clist, + NULL, + NULL, NULL, NULL, - "$Revision$" + grant_desc );