From 7fce9c6d1baca287db38fcf626f53a494eced9cf Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sat, 29 Jul 2017 23:10:35 +0100 Subject: [PATCH] m_join: remove global variable pargs --- modules/core/m_join.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/m_join.c b/modules/core/m_join.c index 8d61ef94..ae12e8e9 100644 --- a/modules/core/m_join.c +++ b/modules/core/m_join.c @@ -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;