mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-20 12:40:18 +00:00
Added an explicit diagnostic when an STS capability token lacks a value while keeping the ignore policy unchanged.
This commit is contained in:
@@ -1900,6 +1900,11 @@ inbound_cap_ls (server *serv, char *nick, char *extensions_str,
|
|||||||
{
|
{
|
||||||
sts_upgrade_triggered |= sts_handle_capability (serv, value);
|
sts_upgrade_triggered |= sts_handle_capability (serv, value);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
PrintTextf (serv->server_session,
|
||||||
|
_("Invalid STS capability token without value"));
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user