]> jfr.im git - solanum.git/blobdiff - extensions/m_identify.c
Add .travis.yml
[solanum.git] / extensions / m_identify.c
index c3f1100984f4e480cb0f5feed397015dfdd66b00..b2385408eda3c22f0773777d06f28e8c9da10d32 100644 (file)
 #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 = {
@@ -64,19 +63,6 @@ mapi_clist_av1 identify_clist[] = {
 
 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;
-
-       rb_strlcpy(tmpbuf, parv[0], BUFSIZE);
-       for (i = 1; i < parc; i++)
-       {
-               rb_strlcat(tmpbuf, " ", BUFSIZE);
-               rb_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;