aboutsummaryrefslogtreecommitdiff
path: root/chat.lua
diff options
context:
space:
mode:
Diffstat (limited to 'chat.lua')
-rw-r--r--chat.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/chat.lua b/chat.lua
index 302fb4d..d6b5a0d 100644
--- a/chat.lua
+++ b/chat.lua
@@ -45,7 +45,9 @@ function sendMessage(id, message)
if win[1].ex == true or layer[1] ~= 1 then
notifyNow("CHAT NOTIFICATION", "New message from\nBest Friend:\n\n" .. message)
end
- msg.c = msg.c + 1
+ if msg.c ~= 8 then
+ msg.c = msg.c + 1
+ end
end
function chatlimit()
if #msg.msgs <=8 then