Added an explicit diagnostic when an STS capability token lacks a value while keeping the ignore policy unchanged.

This commit is contained in:
2026-02-04 12:42:22 -07:00
parent 3d030a96b7
commit f58785c2e0

View File

@@ -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;
}