summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2009-05-03 10:37:13 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-03 13:01:33 +0200
commit7642fdf488c5cd06363297ab88ef70b4f1caa4c6 (patch)
tree7a8ccc34829b16003af2847f93803a05916e9cd2 /src/map/map.h
parent1a284890a23188378db268500eb406f5505ff81b (diff)
downloadtmwa-7642fdf488c5cd06363297ab88ef70b4f1caa4c6.tar.gz
tmwa-7642fdf488c5cd06363297ab88ef70b4f1caa4c6.tar.bz2
tmwa-7642fdf488c5cd06363297ab88ef70b4f1caa4c6.tar.xz
tmwa-7642fdf488c5cd06363297ab88ef70b4f1caa4c6.zip
Fixed antispam to use a timer that doesn't wrap
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h
index fa97e0e..abd4988 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -3,6 +3,7 @@
#define _MAP_H_
#include <stdarg.h>
+#include <time.h>
#include "mmo.h"
#ifndef MAX
@@ -354,7 +355,7 @@ struct map_session_data {
int ignoreAll;
short sg_count;
- unsigned int chat_reset_due;
+ time_t chat_reset_due;
int chat_lines_in;
char chat_lastmsg[513];
};