Merge branch 'awilfox-av2desc'
This commit is contained in:
commit
deef17e5b9
4 changed files with 5 additions and 10 deletions
|
@ -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,9 +50,6 @@ struct Message part_msgtab = {
|
|||
|
||||
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);
|
||||
|
||||
static void part_one_client(struct Client *client_p,
|
||||
|
|
|
@ -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,9 +45,6 @@ struct Message quit_msgtab = {
|
|||
|
||||
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);
|
||||
|
||||
/*
|
||||
|
|
|
@ -43,6 +43,8 @@
|
|||
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_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 = {
|
||||
"SERVER", 0, 0, 0, 0,
|
||||
|
@ -55,8 +57,6 @@ struct Message sid_msgtab = {
|
|||
|
||||
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);
|
||||
|
||||
int bogus_host(const char *host);
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
|
||||
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 const char squit_desc[] = "Provides the SQUIT command to cause a server to quit";
|
||||
|
||||
struct Message squit_msgtab = {
|
||||
"SQUIT", 0, 0, 0, 0,
|
||||
|
@ -48,8 +49,6 @@ struct Message squit_msgtab = {
|
|||
|
||||
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);
|
||||
|
||||
struct squit_parms
|
||||
|
|
Loading…
Reference in a new issue