]> jfr.im git - solanum.git/commitdiff
m_grant: convert jevolk's rewritten version to AV2
authorWilliam Pitcock <redacted>
Sat, 6 Aug 2016 04:37:05 +0000 (23:37 -0500)
committerWilliam Pitcock <redacted>
Sat, 6 Aug 2016 04:37:05 +0000 (23:37 -0500)
modules/m_grant.c

index 1f0b05028f39afcf07c4392051cb17794f1ac504..36ab0b30719d37a9549dce0fda0a10f00b65ed02 100644 (file)
@@ -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
 );