free(txt);
}
-static int
+static void
blacklist_check_user(struct userNode *user)
{
static const char *hexdigits = "0123456789abcdef";
/* Users added during burst should not be checked. */
if (user->uplink->burst)
- return 0;
+ return;
/* Users with bogus IPs are probably service bots. */
if (!irc_in_addr_is_valid(user->ip))
- return 0;
+ return;
/* Check local file-based blacklist. */
irc_ntop(ip, sizeof(ip), &user->ip);
}
dnsbl_len = 48;
} else {
- return 0;
+ return;
}
/* Start a lookup for the appropriate hostname in each DNSBL. */
strcpy(data->zone_name, zone);
}
}
- return 0;
}
static void