From a8f402e909a87c5ccf767e54e76a9ae3d3658e72 Mon Sep 17 00:00:00 2001 From: Ed Kellett Date: Sat, 5 Oct 2019 22:05:15 +0100 Subject: [PATCH] filter: use AV2 --- extensions/filter.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/filter.c b/extensions/filter.c index 40704554..8c91b0c8 100644 --- a/extensions/filter.c +++ b/extensions/filter.c @@ -51,6 +51,8 @@ #define FILTER_EXIT_MSG "Connection closed" +static const char filter_desc[] = "Filter messages using a precompiled Hyperscan database"; + static void filter_msg_user(void *data); static void filter_msg_channel(void *data); static void on_client_exit(void *data); @@ -126,7 +128,7 @@ moddeinit(void) mapi_clist_av1 filter_clist[] = { &setfilter_msgtab, NULL }; -DECLARE_MODULE_AV1(filter, modinit, moddeinit, filter_clist, NULL, filter_hfnlist, "0.4"); +DECLARE_MODULE_AV2(filter, modinit, moddeinit, filter_clist, NULL, filter_hfnlist, NULL, "0.4", filter_desc); static int setfilter(const char *check, const char *data, const char **error)