Merge pull request #112 from ProgVal/trailing-space

Remove trailing space in CAP ACK.
This commit is contained in:
William Pitcock 2015-12-28 11:14:37 -06:00
commit fb01429969

View file

@ -426,8 +426,10 @@ cap_req(struct Client *source_p, const char *arg)
}
strcat(pbuf[i], cap->name);
strcat(pbuf[i], " ");
plen += (cap->namelen + 1);
if (!finished) {
strcat(pbuf[i], " ");
plen += (cap->namelen + 1);
}
}
if(!finished)