]> jfr.im git - solanum.git/commitdiff
core/m_part: Add AV2 description
authorAndrew Wilcox <redacted>
Mon, 7 Mar 2016 07:02:19 +0000 (01:02 -0600)
committerAndrew Wilcox <redacted>
Mon, 7 Mar 2016 07:06:39 +0000 (01:06 -0600)
modules/core/m_part.c

index cd26b67736a3566cf6627c6e79c386eafc59612c..73e7277c50977d6fe4f2c0f04be410945c0782d3 100644 (file)
@@ -41,6 +41,7 @@
 #include "hook.h"
 
 static int m_part(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static const char part_desc[] = "Provides the PART command to leave a channel";
 
 struct Message part_msgtab = {
        "PART", 0, 0, 0, 0,
@@ -49,7 +50,7 @@ struct Message part_msgtab = {
 
 mapi_clist_av1 part_clist[] = { &part_msgtab, NULL };
 
-DECLARE_MODULE_AV2(part, NULL, NULL, part_clist, NULL, NULL, NULL, NULL, NULL);
+DECLARE_MODULE_AV2(part, NULL, NULL, part_clist, NULL, NULL, NULL, NULL, part_desc);
 
 static void part_one_client(struct Client *client_p,
                            struct Client *source_p, char *name,