]> jfr.im git - solanum.git/blobdiff - modules/m_tginfo.c
Kill Travis
[solanum.git] / modules / m_tginfo.c
index ceac9410e77f9523873dd24d3bf4a15f510406b5..c30d65013c17c439a4da5d628c1435eb72cf0591 100644 (file)
@@ -29,7 +29,6 @@
 
 #include "stdinc.h"
 #include "client.h"
-#include "common.h"
 #include "match.h"
 #include "hash.h"
 #include "ircd.h"
@@ -41,7 +40,7 @@
 
 static const char tginfo_desc[] = "Processes target change notifications from other servers";
 
-static int me_tginfo(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static void me_tginfo(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
 struct Message tginfo_msgtab = {
        "TGINFO", 0, 0, 0, 0,
@@ -56,15 +55,15 @@ DECLARE_MODULE_AV2(tginfo, NULL, NULL, tginfo_clist, NULL, NULL, NULL, NULL, tgi
 ** me_tginfo
 **      parv[1] = 0, reserved for future use (number of remaining targets)
 */
-static int
+static void
 me_tginfo(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        if (!IsPerson(source_p))
-               return 0;
+               return;
 
        int remaining = atoi(parv[1]);
        if (remaining != 0)
-               return 0; /* not implemented */
+               return; /* not implemented */
 
        if (!EmptyString(source_p->sockhost) && strcmp(source_p->sockhost, "0"))
        {
@@ -79,6 +78,4 @@ me_tginfo(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sourc
                        "Excessive target change from %s (%s@%s)",
                        source_p->name, source_p->username, source_p->orighost);
        }
-
-       return 0;
 }