0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

authd: remove useless blacklist stats provider for now.

Right now we keep track of this in ircd as stats is not ready for
asynchronous replies.
This commit is contained in:
Elizabeth Myers 2016-03-28 16:49:26 -05:00
parent 50808796e0
commit 1bebedd6fb

View file

@ -546,6 +546,7 @@ add_conf_blacklist_timeout(const char *key, int parc, const char **parv)
blacklist_timeout = timeout;
}
#if 0
static void
blacklist_stats(uint32_t rid, char letter)
{
@ -563,6 +564,7 @@ blacklist_stats(uint32_t rid, char letter)
stats_done(rid, letter);
}
#endif
struct auth_opts_handler blacklist_options[] =
{
@ -582,5 +584,5 @@ struct auth_provider blacklist_provider =
.cancel = blacklists_cancel,
.completed = blacklists_initiate,
.opt_handlers = blacklist_options,
.stats_handler = { 'B', blacklist_stats },
/* .stats_handler = { 'B', blacklist_stats }, */
};