Fix misleading indent, add brackets

This commit is contained in:
Alex 2020-08-14 11:33:26 +02:00
parent 4b7cd6c994
commit 57cfa3324a
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 2 additions and 2 deletions

View File

@ -25,11 +25,11 @@ signed int Assm_mesg(char* buf, IRC_Message* in, size_t len)
unsigned int cnt;
signed int ret;
#ifdef UIRC_IRCV3
if ((ret = Assm_tags(pos, &in->tags, len - (pos - buf))) >= 0)
if ((ret = Assm_tags(pos, &in->tags, len - (pos - buf))) >= 0) {
pos += ret;
if (!safe_charcpy(&pos, ' ', len - (pos - buf)))
return ERR_UIRC_BUFFER_ERR;
else
} else
return ret;
#endif
if (in->name.nick != NULL || in->name.host != NULL) {