Better handling of multi-line MotD
magicus opened this issue ยท 1 comments
Our family server has a two-line MotD, used by inserting \n
in the motd property. (This is rather common practice for Minecraft servers).
Unfortunately this is shown in the LAN broadcast as the LF unicode block "[LF]". I think a better approach would be to replace this with -
, as it will work as an acceptable one-line separator.
This should be a trivial addition to sanitizeMOTD
. I can submit a PR, if you like. Let me know.