#include "stdinc.h"
#include "client.h"
-#include "common.h" /* FALSE */
+#include "common.h"
#include "ircd.h"
#include "numeric.h"
#include "send.h"
&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
};
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
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);
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,
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 *);
#include "stdinc.h"
#include "client.h"
-#include "common.h" /* FALSE bleah */
+#include "common.h"
#include "match.h"
#include "ircd.h"
#include "numeric.h"
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
{