From f8a6393d92575f49d0076f13242bc2d0ac06f2e0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 14 Feb 2021 17:10:01 -0300 Subject: Prevent a few bugs but not all of 'em --- npc/003-3/malindou.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'npc/003-3/malindou.txt') diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 25d3fe935..ad54b65cd 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -656,7 +656,8 @@ OnInit: end; OnClock0500: - query_sql("DELETE FROM `chatlog` WHERE `time` < '"+sqldate(-7)+"'"); + if (gettime(GETTIME_DAYOFMONTH) >= 7) + query_sql("DELETE FROM `chatlog` WHERE `time` < '"+sqldate(-7)+"'"); end; // This is for HUB -- cgit v1.2.3-70-g09d2