]>
jfr.im git - irc/quakenet/newserv.git/blob - trusts_newsearch/formats.c
3 #include "../newsearch/newsearch.h"
4 #include "../control/control.h"
5 #include "../lib/stringbuf.h"
6 #include "../trusts/trusts.h"
8 void printtrust_group(searchCtx
*ctx
, nick
*sender
, patricia_node_t
*node
) {
9 trusthost_t
*tgh
= node
->exts
[tgh_ext
];
14 ctx
->reply(sender
,"%s | [%lu] | %lu/%lu", IPtostr(node
->prefix
->sin
), tg
->id
, tg
->currenton
, tg
->maxusage
);
16 ctx
->reply(sender
,"%s | <none>", IPtostr(node
->prefix
->sin
));