mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-04 22:11:52 +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:
1 parent
3d030a96b7
commit
f58785c2e0
1 file changed
+5
@@ -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