extensions/m_sendbans.c: misc cleanup for compiler warning

m_sendbans.c:76:15: warning: possible misuse of comma operator here
                    [-Wcomma]
This commit is contained in:
Aaron Jones 2017-07-31 06:05:36 +00:00
parent 8952f21843
commit daf1b4b9af
No known key found for this signature in database
GPG key ID: 8AF0737488AB3012

View file

@ -73,7 +73,10 @@ static const char *expand_xline(const char *mask)
while (*p != '\0')
{
if (*p == ' ')
*q++ = '\\', *q++ = 's';
{
*q++ = '\\';
*q++ = 's';
}
else
*q++ = *p;
p++;