From 83f7888d72cf1faba78a4c9ed9df4780b11534b3 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 23 Nov 2022 20:56:35 +0100 Subject: [PATCH] Add ACCOUNTEXTBAN ISUPPORT token To support the draft IRCv3 spec: https://github.com/ircv3/ircv3-specifications/pull/464 --- extensions/extb_account.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/extb_account.c b/extensions/extb_account.c index 82af5889..a0fceb93 100644 --- a/extensions/extb_account.c +++ b/extensions/extb_account.c @@ -7,6 +7,7 @@ #include "modules.h" #include "client.h" #include "ircd.h" +#include "supported.h" static const char extb_desc[] = "Account ($a) extban type"; @@ -20,6 +21,7 @@ static int _modinit(void) { extban_table['a'] = eb_account; + add_isupport("ACCOUNTEXTBAN", isupport_string, "a"); return 0; } @@ -28,6 +30,7 @@ static void _moddeinit(void) { extban_table['a'] = NULL; + delete_isupport("ACCOUNTEXTBAN"); } static int eb_account(const char *data, struct Client *client_p,