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

index 472cab9e35555573e666f3bb62175c65e54d731c..4c7691291ff2edc59c6b183225b62f3b8741b284 100644 (file)
@@ -36,6 +36,7 @@
 
 static int m_quit(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 static int ms_quit(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static const char quit_desc[] = "Provides the QUIT command to allow a user to leave the network";
 
 struct Message quit_msgtab = {
        "QUIT", 0, 0, 0, 0,
@@ -44,7 +45,7 @@ struct Message quit_msgtab = {
 
 mapi_clist_av1 quit_clist[] = { &quit_msgtab, NULL };
 
-DECLARE_MODULE_AV2(quit, NULL, NULL, quit_clist, NULL, NULL, NULL, NULL, NULL);
+DECLARE_MODULE_AV2(quit, NULL, NULL, quit_clist, NULL, NULL, NULL, NULL, quit_desc);
 
 /*
 ** m_quit