Fix /m and path traversal ActionLog
This commit is contained in:
parent
7868b4ce3e
commit
2f8b304b68
2 changed files with 3 additions and 3 deletions
|
|
@ -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", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue