]> jfr.im git - solanum.git/blobdiff - modules/m_close.c
Kill Travis
[solanum.git] / modules / m_close.c
index 15934e10ae89723cba7948a8e5e2386e4f71f5bf..4a70cd4611e1c0fbbacbe9e0574aa9ece942d404 100644 (file)
@@ -31,7 +31,9 @@
 #include "parse.h"
 #include "modules.h"
 
-static int mo_close(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static const char close_desc[] = "Provides the CLOSE command to clear all unfinished connections";
+
+static void mo_close(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
 struct Message close_msgtab = {
        "CLOSE", 0, 0, 0, 0,
@@ -40,15 +42,13 @@ struct Message close_msgtab = {
 
 mapi_clist_av1 close_clist[] = { &close_msgtab, NULL };
 
-static const char close_desc[] = "Provides the CLOSE command to clear all unfinished connections";
-
 DECLARE_MODULE_AV2(close, NULL, NULL, close_clist, NULL, NULL, NULL, NULL, close_desc);
 
 /*
  * mo_close - CLOSE message handler
  *  - added by Darren Reed Jul 13 1992.
  */
-static int
+static void
 mo_close(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        struct Client *target_p;
@@ -68,5 +68,4 @@ mo_close(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source
        }
 
        sendto_one(source_p, form_str(RPL_CLOSEEND), me.name, source_p->name, closed);
-       return 0;
 }