]>
jfr.im git - irc/quakenet/newserv.git/blob - trusts/trusts_api.c
2 #include "../lib/version.h"
3 #include <../nick/nick.h>
4 #include "../irc/irc.h"
9 int istrusted(nick
*np
) {
10 return gettrusthost(np
) != NULL
;
13 unsigned char getnodebits(struct irc_in_addr
*ip
) {
16 th
= th_getbyhost(ip
);
21 if(irc_in_addr_is_ipv4(ip
))