Tags may be missing
This commit is contained in:
parent
57cfa3324a
commit
eb175a0f92
|
@ -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;
|
||||
|
|
Reference in New Issue