Fix #66
This commit is contained in:
parent
794f26af22
commit
184fbcd971
|
@ -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", {
|
||||
|
|
Loading…
Reference in a new issue