modules/core/m_mode.c: misc cleanup for compiler warning

core/m_mode.c:378:11: warning: possible misuse of comma operator here
                      [-Wcomma]
This commit is contained in:
Aaron Jones 2017-07-31 06:08:06 +00:00
parent c67c9451a1
commit 3109b8a636
No known key found for this signature in database
GPG key ID: 8AF0737488AB3012

View file

@ -375,7 +375,10 @@ ms_bmask(struct Client *client_p, struct Client *source_p, int parc, const char
{ {
*forward++ = '\0'; *forward++ = '\0';
if(*forward == '\0') if(*forward == '\0')
tlen--, forward = NULL; {
tlen--;
forward = NULL;
}
else else
possibly_remove_lower_forward(fakesource_p, possibly_remove_lower_forward(fakesource_p,
mems, chptr, banlist, mems, chptr, banlist,