When g_privateMessages is set to 0 and a user types what is intended to be a private message into the chat, it is sent to everyone. This can lead to embarassing situations.
This patch fixes the behavior, as well as adding notice that PMs have been disabled when someone tries to use them.
Created attachment 1319[details]
fix + notifications
Stops PMs from being sent to all-chat when g_privateMessages 0. Also notifies user that PMs have been disabled.
Created attachment 1319 [details] fix + notifications Stops PMs from being sent to all-chat when g_privateMessages 0. Also notifies user that PMs have been disabled.
Created attachment 1320 [details] fix + notifications code cleanup fixes