modules/core/m_join.c: remove global variable para

This commit is contained in:
Simon Arlott 2017-07-29 23:11:36 +01:00 committed by Aaron Jones
parent 1c2012f03b
commit 18823bcfca
No known key found for this signature in database
GPG key ID: 8AF0737488AB3012

View file

@ -83,7 +83,6 @@ static void remove_ban_list(struct Channel *chptr, struct Client *source_p,
static char modebuf[MODEBUFLEN]; static char modebuf[MODEBUFLEN];
static char parabuf[MODEBUFLEN]; static char parabuf[MODEBUFLEN];
static const char *para[MAXMODEPARAMS];
/* Check what we will forward to, without sending any notices to the user /* Check what we will forward to, without sending any notices to the user
* -- jilles * -- jilles
@ -535,6 +534,7 @@ ms_sjoin(struct Client *client_p, struct Client *source_p, int parc, const char
int i, joinc = 0, timeslice = 0; int i, joinc = 0, timeslice = 0;
static char empty[] = ""; static char empty[] = "";
rb_dlink_node *ptr, *next_ptr; rb_dlink_node *ptr, *next_ptr;
const char *para[MAXMODEPARAMS];
if(parc < 5) if(parc < 5)
return 0; return 0;