Include messages.h for macro form_str in select extensions
This commit is contained in:
parent
a6adeaad20
commit
bd0d352f12
12 changed files with 14 additions and 3 deletions
|
@ -32,6 +32,7 @@
|
||||||
#include "s_serv.h"
|
#include "s_serv.h"
|
||||||
#include "numeric.h"
|
#include "numeric.h"
|
||||||
#include "chmode.h"
|
#include "chmode.h"
|
||||||
|
#include "messages.h"
|
||||||
#include "inline/stringops.h"
|
#include "inline/stringops.h"
|
||||||
|
|
||||||
static unsigned int mode_nonotice;
|
static unsigned int mode_nonotice;
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#include "s_conf.h"
|
#include "s_conf.h"
|
||||||
#include "s_newconf.h"
|
#include "s_newconf.h"
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
|
#include "messages.h"
|
||||||
|
|
||||||
/* {{{ Structures */
|
/* {{{ Structures */
|
||||||
#define HURT_CUTOFF (10) /* protocol messages. */
|
#define HURT_CUTOFF (10) /* protocol messages. */
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
#include "parse.h"
|
#include "parse.h"
|
||||||
#include "modules.h"
|
#include "modules.h"
|
||||||
#include "s_serv.h"
|
#include "s_serv.h"
|
||||||
|
#include "messages.h"
|
||||||
|
|
||||||
static int mo_adminwall(struct Client *, struct Client *, int, const char **);
|
static int mo_adminwall(struct Client *, struct Client *, int, const char **);
|
||||||
static int me_adminwall(struct Client *, struct Client *, int, const char **);
|
static int me_adminwall(struct Client *, struct Client *, int, const char **);
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
#include "parse.h"
|
#include "parse.h"
|
||||||
#include "modules.h"
|
#include "modules.h"
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
|
#include "messages.h"
|
||||||
|
|
||||||
static int m_findforwards(struct Client *client_p, struct Client *source_p,
|
static int m_findforwards(struct Client *client_p, struct Client *source_p,
|
||||||
int parc, const char *parv[]);
|
int parc, const char *parv[]);
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
#include "msg.h"
|
#include "msg.h"
|
||||||
#include "parse.h"
|
#include "parse.h"
|
||||||
#include "modules.h"
|
#include "modules.h"
|
||||||
|
#include "messages.h"
|
||||||
|
|
||||||
#define SVS_chanserv_NICK "ChanServ"
|
#define SVS_chanserv_NICK "ChanServ"
|
||||||
#define SVS_nickserv_NICK "NickServ"
|
#define SVS_nickserv_NICK "NickServ"
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "numeric.h"
|
#include "numeric.h"
|
||||||
#include "s_conf.h"
|
#include "s_conf.h"
|
||||||
#include "modules.h"
|
#include "modules.h"
|
||||||
|
#include "messages.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -37,7 +38,7 @@ mapi_clist_av1 mkpasswd_clist[] = { &mkpasswd_msgtab, NULL };
|
||||||
DECLARE_MODULE_AV1(mkpasswd, NULL, NULL, mkpasswd_clist, NULL, NULL, "$Revision$");
|
DECLARE_MODULE_AV1(mkpasswd, NULL, NULL, mkpasswd_clist, NULL, NULL, "$Revision$");
|
||||||
|
|
||||||
|
|
||||||
/* m_mkpasswd - mkpasswd message handler
|
/* m_mkpasswd - mkpasswd messages.handler
|
||||||
* parv[1] = password
|
* parv[1] = password
|
||||||
* parv[2] = type
|
* parv[2] = type
|
||||||
*/
|
*/
|
||||||
|
@ -88,7 +89,7 @@ m_mkpasswd(struct Client *client_p, struct Client *source_p, int parc, const cha
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* mo_mkpasswd - mkpasswd message handler
|
/* mo_mkpasswd - mkpasswd messages.handler
|
||||||
* parv[1] = password
|
* parv[1] = password
|
||||||
* parv[2] = type
|
* parv[2] = type
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
#include "msg.h"
|
#include "msg.h"
|
||||||
#include "parse.h"
|
#include "parse.h"
|
||||||
#include "modules.h"
|
#include "modules.h"
|
||||||
|
#include "messages.h"
|
||||||
|
|
||||||
static int mo_ojoin(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
static int mo_ojoin(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
#include "modules.h"
|
#include "modules.h"
|
||||||
#include "s_conf.h"
|
#include "s_conf.h"
|
||||||
#include "s_newconf.h"
|
#include "s_newconf.h"
|
||||||
|
#include "messages.h"
|
||||||
|
|
||||||
static int mo_opme(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
static int mo_opme(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
#include "s_serv.h"
|
#include "s_serv.h"
|
||||||
#include "s_conf.h"
|
#include "s_conf.h"
|
||||||
#include "hook.h"
|
#include "hook.h"
|
||||||
|
#include "messages.h"
|
||||||
|
|
||||||
unsigned int CAP_REMOVE;
|
unsigned int CAP_REMOVE;
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include "tgchange.h"
|
#include "tgchange.h"
|
||||||
#include "channel.h"
|
#include "channel.h"
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
|
#include "messages.h"
|
||||||
|
|
||||||
static int m_scene(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
static int m_scene(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
||||||
static int m_fsay(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
static int m_fsay(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
#include "msg.h"
|
#include "msg.h"
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
#include "modules.h"
|
#include "modules.h"
|
||||||
|
#include "messages.h"
|
||||||
|
|
||||||
static int mo_sendbans(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
static int mo_sendbans(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ mapi_clist_av1 webirc_clist[] = { &webirc_msgtab, NULL };
|
||||||
DECLARE_MODULE_AV1(webirc, NULL, NULL, webirc_clist, NULL, NULL, "$Revision: 20702 $");
|
DECLARE_MODULE_AV1(webirc, NULL, NULL, webirc_clist, NULL, NULL, "$Revision: 20702 $");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* mr_webirc - webirc message handler
|
* mr_webirc - webirc messages.handler
|
||||||
* parv[1] = password
|
* parv[1] = password
|
||||||
* parv[2] = fake username (we ignore this)
|
* parv[2] = fake username (we ignore this)
|
||||||
* parv[3] = fake hostname
|
* parv[3] = fake hostname
|
||||||
|
|
Loading…
Reference in a new issue