Skip to content
Snippets Groups Projects
  • Re Frag's avatar
    b16c4df3
    Ensure the servername fits into MAXSERVERNAME before setting it · b16c4df3
    Re Frag authored
    This commit adds a verification before setting the servername console
    variable. We now check that it fits within the MAXSERVERNAME length and
    we cancel setting it if it doesn't.
    Letting the servername be more than MAXSERVERNAME could lead to crashes
    when trying to edit the server name from the menu so, we now avoid
    those.
    Ensure the servername fits into MAXSERVERNAME before setting it
    Re Frag authored
    This commit adds a verification before setting the servername console
    variable. We now check that it fits within the MAXSERVERNAME length and
    we cancel setting it if it doesn't.
    Letting the servername be more than MAXSERVERNAME could lead to crashes
    when trying to edit the server name from the menu so, we now avoid
    those.