fixed minor bug, whoops

This commit is contained in:
Fluffy Jenkins 2020-01-15 21:38:25 +00:00
parent 81f8c5bab8
commit 1e47165303

View file

@ -462,7 +462,7 @@ function addToLog(msg, dp, colour, tab) {
}
function addToChatBarHistory(msg) {
chatBarHistory.unshift(cmd.message);
chatBarHistory.unshift(msg);
while (chatBarHistory.length > chatBarHistoryLimit) {
chatBarHistory.pop();
}