Remove trailing space in CAP ACK.
Fixes https://github.com/atheme/charybdis/issues/110
This commit is contained in:
parent
e00552d5ce
commit
d855e13e01
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue