]> jfr.im git - solanum.git/commitdiff
Add more core module descriptions
authorElizabeth Myers <redacted>
Mon, 7 Mar 2016 07:16:24 +0000 (01:16 -0600)
committerElizabeth Myers <redacted>
Mon, 7 Mar 2016 07:16:24 +0000 (01:16 -0600)
modules/core/m_error.c
modules/core/m_mode.c
modules/core/m_nick.c
modules/core/m_part.c
modules/core/m_server.c
modules/core/m_squit.c

index c2ce31ada2d8662e4123066da2ee087de3a52d20..14c0813f5a2a024042c19ddc0419aa6b01d22819 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "stdinc.h"
 #include "client.h"
-#include "common.h"            /* FALSE */
+#include "common.h"
 #include "ircd.h"
 #include "numeric.h"
 #include "send.h"
@@ -45,7 +45,10 @@ mapi_clist_av1 error_clist[] = {
        &error_msgtab, NULL
 };
 
-DECLARE_MODULE_AV2(error, NULL, NULL, error_clist, NULL, NULL, NULL, NULL, NULL);
+static const char error_desc[] =
+       "Provides the ERROR command for clients and servers";
+
+DECLARE_MODULE_AV2(error, NULL, NULL, error_clist, NULL, NULL, NULL, NULL, error_desc);
 
 /* Determine whether an ERROR message is safe to show (no IP address in it) */
 static int
index c84ffaafff10d0d3a503bbc8812aab5d67c94c64..26bb1b341dd42c92b3dbfb97505ef88ec36c7212 100644 (file)
@@ -64,8 +64,10 @@ struct Message bmask_msgtab = {
 };
 
 mapi_clist_av1 mode_clist[] = { &mode_msgtab, &tmode_msgtab, &mlock_msgtab, &bmask_msgtab, NULL };
+static const char mode_desc[] =
+       "Provides the MODE and MLOCK client and server commands, and TS6 server-to-server TMODE and BMASK commands";
 
-DECLARE_MODULE_AV2(mode, NULL, NULL, mode_clist, NULL, NULL, NULL, NULL, NULL);
+DECLARE_MODULE_AV2(mode, NULL, NULL, mode_clist, NULL, NULL, NULL, NULL, mode_desc);
 
 /*
  * m_mode - MODE command handler
index e29e81a88c9a697160d9c01ee09f96f490f32a46..6b6af6989fba52906207651fa12fd27efa17f8de 100644 (file)
@@ -85,7 +85,10 @@ struct Message save_msgtab = {
 mapi_clist_av1 nick_clist[] = { &nick_msgtab, &uid_msgtab, &euid_msgtab,
        &save_msgtab, NULL };
 
-DECLARE_MODULE_AV2(nick, NULL, NULL, nick_clist, NULL, NULL, NULL, NULL, NULL);
+static const char nick_desc[] =
+       "Provides the NICK client and server commands as well as the UID, EUID, and SAVE TS6 server commands";
+
+DECLARE_MODULE_AV2(nick, NULL, NULL, nick_clist, NULL, NULL, NULL, NULL, nick_desc);
 
 static int change_remote_nick(struct Client *, struct Client *, time_t,
                              const char *, int);
index cd26b67736a3566cf6627c6e79c386eafc59612c..fca9c8d179cbfbafb944f956d127146c304adf7b 100644 (file)
@@ -49,7 +49,10 @@ 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);
+static const char part_desc[] =
+       "Provides the PART client and server commands";
+
+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,
index c25f02b9a2a6e9623735b23a7ad7f5cfb33d7fa3..3933c311e9f837ab7abb6d20fbc3eecdcbd03208 100644 (file)
@@ -55,7 +55,9 @@ struct Message sid_msgtab = {
 
 mapi_clist_av1 server_clist[] = { &server_msgtab, &sid_msgtab, NULL };
 
-DECLARE_MODULE_AV2(server, NULL, NULL, server_clist, NULL, NULL, NULL, NULL, NULL);
+static const char server_desc[] = "Provides the SERVER and SID commands for TS6 use";
+
+DECLARE_MODULE_AV2(server, NULL, NULL, server_clist, NULL, NULL, NULL, NULL, server_desc);
 
 int bogus_host(const char *host);
 static int set_server_gecos(struct Client *, const char *);
index 9c72969d880451abce33377f8195c70c64aa4151..9fca6d734b1d7e39a7de018cfc32c3c7b49bef6c 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "stdinc.h"
 #include "client.h"
-#include "common.h"            /* FALSE bleah */
+#include "common.h"
 #include "match.h"
 #include "ircd.h"
 #include "numeric.h"
@@ -48,7 +48,9 @@ struct Message squit_msgtab = {
 
 mapi_clist_av1 squit_clist[] = { &squit_msgtab, NULL };
 
-DECLARE_MODULE_AV2(squit, NULL, NULL, squit_clist, NULL, NULL, NULL, NULL, NULL);
+static const char squit_desc[] = "Provides the TS6 SQUIT command";
+
+DECLARE_MODULE_AV2(squit, NULL, NULL, squit_clist, NULL, NULL, NULL, NULL, squit_desc);
 
 struct squit_parms
 {