This commit is contained in:
calzoneman 2013-04-29 11:08:06 -05:00
parent 794f26af22
commit 184fbcd971

View file

@ -242,7 +242,7 @@ $("#chatline").keydown(function(ev) {
}
else {
var msg = $("#chatline").val();
if(USEROPTS.modhat) {
if(USEROPTS.modhat && RANK >= Rank.Moderator) {
msg = "/m " + msg
}
socket.emit("chatMsg", {