#include "client.h"
#include "common.h"
#include "ircd.h"
-#include "irc_string.h"
+#include "match.h"
#include "numeric.h"
#include "s_conf.h"
-#include "s_log.h"
+#include "logger.h"
#include "s_serv.h"
#include "send.h"
#include "msg.h"
#include "parse.h"
#include "modules.h"
+#include "messages.h"
#define SVS_chanserv_NICK "ChanServ"
#define SVS_nickserv_NICK "NickServ"
-char *reconstruct_parv(int parc, const char *parv[]);
-
static int m_identify(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
struct Message identify_msgtab = {
DECLARE_MODULE_AV1(identify, NULL, NULL, identify_clist, NULL, NULL, "$Revision: 2729 $");
-char *reconstruct_parv(int parc, const char *parv[])
-{
- static char tmpbuf[BUFSIZE]; int i;
-
- strlcpy(tmpbuf, parv[0], BUFSIZE);
- for (i = 1; i < parc; i++)
- {
- strlcat(tmpbuf, " ", BUFSIZE);
- strlcat(tmpbuf, parv[i], BUFSIZE);
- }
- return tmpbuf;
-}
-
static int m_identify(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
{
const char *nick;