From 7280ab89939a89bd57bf91c5dd71120734853dfc Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 1 Jul 2026 22:59:07 -0700 Subject: [PATCH] add authtoken cap value (#2413) --- irc/config.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/irc/config.go b/irc/config.go index fbdea490..d25a5da2 100644 --- a/irc/config.go +++ b/irc/config.go @@ -1805,7 +1805,9 @@ func LoadConfig(filename string) (config *Config, err error) { if err = config.AuthToken.Postprocess(); err != nil { return nil, err } - if !config.AuthToken.Enabled { + if config.AuthToken.Enabled { + config.Server.capValues[caps.AuthToken] = "client-batch" + } else { config.Server.supportedCaps.Disable(caps.AuthToken) }