summaryrefslogtreecommitdiff
path: root/npc/003-3/malindou.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-14 17:10:01 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-14 17:10:01 -0300
commitf8a6393d92575f49d0076f13242bc2d0ac06f2e0 (patch)
tree2aae2312746189eaaac9ed88c97f6482fda8cfb9 /npc/003-3/malindou.txt
parentbd27276c5b1c9b9057aed7e61df571ec325e1eed (diff)
downloadserverdata-f8a6393d92575f49d0076f13242bc2d0ac06f2e0.tar.gz
serverdata-f8a6393d92575f49d0076f13242bc2d0ac06f2e0.tar.bz2
serverdata-f8a6393d92575f49d0076f13242bc2d0ac06f2e0.tar.xz
serverdata-f8a6393d92575f49d0076f13242bc2d0ac06f2e0.zip
Prevent a few bugs but not all of 'em
Diffstat (limited to 'npc/003-3/malindou.txt')
-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