- /* \r\n\0, possible "-~=", space, " *" */
- if(buflen + caplen >= BUFSIZE - 10)
- {
- /* remove our trailing space -- if buflen == mlen
- * here, we didnt even succeed in adding one.
- */
- if(buflen != mlen)
- *(p - 1) = '\0';
- else
- *p = '\0';
-
- sendto_one(source_p, "%s * :%s", buf, capbuf);
- p = capbuf;
- buflen = mlen;
- }
+ if (source_p->flags & FLAGS_CLICAP_DATA) {
+ if (!flags && clicap != NULL && clicap->data != NULL)
+ data = clicap->data(source_p);