Hello!
This is my first time making a diff for Odamex, so sorry if I did not do it correctly!
I have attached to this post a diff file that adds a new cvar (cl_quitmsg, defaults to "
http://odamex.net/") to Odamex, the cvar is limited to 25 characters, and is shown when a player disconnects or times out. If the player chooses to not have a quit message, he can simply make the cvar empty (cl_quitmsg "") and it will not show up when he disconnects (nor will the brackets the quit message is contained in).
I chose not to add this feature to the menu in fear of the menu code breaking. It was too complex for my very modest coding skill.
Thank you!
EDIT: I made a mistake with the diff, it was sending the quit message to the master for some reason. Fixed.