Fix /m and path traversal ActionLog

This commit is contained in:
calzoneman 2013-11-21 17:46:33 -06:00
parent 7868b4ce3e
commit 2f8b304b68
2 changed files with 3 additions and 3 deletions

View file

@ -158,7 +158,7 @@ $("#chatline").keydown(function(ev) {
}
if (CLIENT.rank >= 2 && msg.indexOf("/m ") === 0) {
meta.modflair = CLIENT.rank;
msg = msg.substring(4);
msg = msg.substring(3);
}
socket.emit("chatMsg", {