Remove trailing space in CAP ACK.

Fixes https://github.com/atheme/charybdis/issues/110
This commit is contained in:
Valentin Lorentz 2015-12-28 10:57:17 +01:00
parent e00552d5ce
commit d855e13e01

View file

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