Tags may be missing

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

View File

@ -25,7 +25,7 @@ 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;