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:
parent
c67c9451a1
commit
3109b8a636
1 changed files with 4 additions and 1 deletions
|
@ -375,7 +375,10 @@ ms_bmask(struct Client *client_p, struct Client *source_p, int parc, const char
|
|||
{
|
||||
*forward++ = '\0';
|
||||
if(*forward == '\0')
|
||||
tlen--, forward = NULL;
|
||||
{
|
||||
tlen--;
|
||||
forward = NULL;
|
||||
}
|
||||
else
|
||||
possibly_remove_lower_forward(fakesource_p,
|
||||
mems, chptr, banlist,
|
||||
|
|
Loading…
Reference in a new issue