This is a complementary PR for #366 and provides client-side control for MOTD rendering.
It also defaults the MOTD to text-only mode, so we're not by default vulnerable to attacks against the HTML renderer, and adds client side control of dismissed MOTD unloading.
Changes:
Add cl_disablehtmlmotd value 2 for completely disabling the MOTD client side.
Set default of cl_disablehtmlmotd to 1 instead of 0.
Add cl_motd_unload_on_dismissal which allows clients to override a sv_motd_unload_on_dismissal 0 to force the unload.
Set default of sv_motd_unload_on_dismissal to 1 instead of 0.
Description
This is a complementary PR for #366 and provides client-side control for MOTD rendering.
It also defaults the MOTD to text-only mode, so we're not by default vulnerable to attacks against the HTML renderer, and adds client side control of dismissed MOTD unloading.
Changes:
cl_disablehtmlmotd
value2
for completely disabling the MOTD client side.cl_disablehtmlmotd
to1
instead of0
.cl_motd_unload_on_dismissal
which allows clients to override asv_motd_unload_on_dismissal 0
to force the unload.sv_motd_unload_on_dismissal
to1
instead of0
.Toolchain
Linked Issues