]> jfr.im git - solanum.git/blobdiff - modules/core/m_join.c
m_join: remove global variable pargs
[solanum.git] / modules / core / m_join.c
index 8d61ef94bb3c7a3a6fa7b682e291cfd615266432..ae12e8e979844e60715ea1c3c9fd8347148221eb 100644 (file)
@@ -83,7 +83,6 @@ static void remove_ban_list(struct Channel *chptr, struct Client *source_p,
 static char modebuf[MODEBUFLEN];
 static char parabuf[MODEBUFLEN];
 static const char *para[MAXMODEPARAMS];
-static int pargs;
 
 /* Check what we will forward to, without sending any notices to the user
  * -- jilles
@@ -532,6 +531,7 @@ ms_sjoin(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source
        static char empty[] = "";
        rb_dlink_node *ptr, *next_ptr;
        char *mbuf;
+       int pargs;
 
        if(parc < 5)
                return;