summaryrefslogtreecommitdiff
path: root/npc/003-3
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-3')
-rw-r--r--npc/003-3/malindou.txt3
1 files changed, 2 insertions, 1 deletions
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