fix modchat 

Many server have been getting spammed by "thedancemaster" AKA TDM and i was wondering why it wouldnt work when config.modchat wasnt working which led to this pull :)if i did do somthing wrong pls just fix and close this pull
hope it works -bandi