From 1e4716530309a30dfde54703765928234ec799d2 Mon Sep 17 00:00:00 2001 From: Fluffy Jenkins Date: Wed, 15 Jan 2020 21:38:25 +0000 Subject: [PATCH] fixed minor bug, whoops --- scripts/communityModules/chat/FloofChat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/communityModules/chat/FloofChat.js b/scripts/communityModules/chat/FloofChat.js index 304ad728d7..7859d95090 100644 --- a/scripts/communityModules/chat/FloofChat.js +++ b/scripts/communityModules/chat/FloofChat.js @@ -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(); }