From f58785c2e0aafbf4cde65a357c4cc5d1c8508289 Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 4 Feb 2026 12:42:22 -0700 Subject: [PATCH] Added an explicit diagnostic when an STS capability token lacks a value while keeping the ignore policy unchanged. --- src/common/inbound.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/inbound.c b/src/common/inbound.c index 081b3185..d3fd4139 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -1900,6 +1900,11 @@ inbound_cap_ls (server *serv, char *nick, char *extensions_str, { sts_upgrade_triggered |= sts_handle_capability (serv, value); } + else + { + PrintTextf (serv->server_session, + _("Invalid STS capability token without value")); + } continue; }