Merge branch 'awilfox-av2desc'

This commit is contained in:
Elizabeth Myers 2016-03-07 01:21:11 -06:00
commit deef17e5b9
4 changed files with 5 additions and 10 deletions

View file

@ -41,6 +41,7 @@
#include "hook.h" #include "hook.h"
static int m_part(struct MsgBuf *, struct Client *, struct Client *, int, const char **); 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 = { struct Message part_msgtab = {
"PART", 0, 0, 0, 0, "PART", 0, 0, 0, 0,
@ -49,9 +50,6 @@ struct Message part_msgtab = {
mapi_clist_av1 part_clist[] = { &part_msgtab, NULL }; mapi_clist_av1 part_clist[] = { &part_msgtab, 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); DECLARE_MODULE_AV2(part, NULL, NULL, part_clist, NULL, NULL, NULL, NULL, part_desc);
static void part_one_client(struct Client *client_p, static void part_one_client(struct Client *client_p,

View file

@ -36,6 +36,7 @@
static int m_quit(struct MsgBuf *, struct Client *, struct Client *, int, const char **); 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 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 = { struct Message quit_msgtab = {
"QUIT", 0, 0, 0, 0, "QUIT", 0, 0, 0, 0,
@ -44,9 +45,6 @@ struct Message quit_msgtab = {
mapi_clist_av1 quit_clist[] = { &quit_msgtab, NULL }; mapi_clist_av1 quit_clist[] = { &quit_msgtab, NULL };
static const char quit_desc[] =
"Provides the QUIT command for clients and servers";
DECLARE_MODULE_AV2(quit, NULL, NULL, quit_clist, NULL, NULL, NULL, NULL, quit_desc); DECLARE_MODULE_AV2(quit, NULL, NULL, quit_clist, NULL, NULL, NULL, NULL, quit_desc);
/* /*

View file

@ -43,6 +43,8 @@
static int mr_server(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int mr_server(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static int ms_server(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int ms_server(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static int ms_sid(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int ms_sid(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static const char server_desc[] =
"Provides the TS6 commands to introduce a new server to the network";
struct Message server_msgtab = { struct Message server_msgtab = {
"SERVER", 0, 0, 0, 0, "SERVER", 0, 0, 0, 0,
@ -55,8 +57,6 @@ struct Message sid_msgtab = {
mapi_clist_av1 server_clist[] = { &server_msgtab, &sid_msgtab, NULL }; mapi_clist_av1 server_clist[] = { &server_msgtab, &sid_msgtab, 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); DECLARE_MODULE_AV2(server, NULL, NULL, server_clist, NULL, NULL, NULL, NULL, server_desc);
int bogus_host(const char *host); int bogus_host(const char *host);

View file

@ -40,6 +40,7 @@
static int ms_squit(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int ms_squit(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static int mo_squit(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int mo_squit(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static const char squit_desc[] = "Provides the SQUIT command to cause a server to quit";
struct Message squit_msgtab = { struct Message squit_msgtab = {
"SQUIT", 0, 0, 0, 0, "SQUIT", 0, 0, 0, 0,
@ -48,8 +49,6 @@ struct Message squit_msgtab = {
mapi_clist_av1 squit_clist[] = { &squit_msgtab, NULL }; mapi_clist_av1 squit_clist[] = { &squit_msgtab, 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); DECLARE_MODULE_AV2(squit, NULL, NULL, squit_clist, NULL, NULL, NULL, NULL, squit_desc);
struct squit_parms struct squit_parms