m_join: remove global variable pargs

This commit is contained in:
Simon Arlott 2017-07-29 23:10:35 +01:00
parent 2077757f2a
commit 7fce9c6d1b
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24

View 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;