summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-07-06 14:33:43 -0600
committerJared Adams <jaxad0127@gmail.com>2009-07-06 14:33:43 -0600
commit03b5e644857f80a23bd8b856b78a10cf0a564a66 (patch)
tree1f557d75211e3408cbac740b95258e5a3f92f35d /src/map/pc.c
parent2855e018b8e177878ca0d83c61e4442ddf3e505c (diff)
downloadtmwa-03b5e644857f80a23bd8b856b78a10cf0a564a66.tar.gz
tmwa-03b5e644857f80a23bd8b856b78a10cf0a564a66.tar.bz2
tmwa-03b5e644857f80a23bd8b856b78a10cf0a564a66.tar.xz
tmwa-03b5e644857f80a23bd8b856b78a10cf0a564a66.zip
Add a new trade spam system
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 630a15b..b3626df 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -815,6 +815,8 @@ int pc_authok(int id, int login_id2, time_t connect_until_time, short tmw_versio
sd->chat_reset_due = sd->chat_lines_in = 0;
sd->chat_lastmsg[0] = '\0';
+
+ sd->trade_reset_due = sd->trades_in = 0;
// message of the limited time of the account
if (connect_until_time != 0) { // don't display if it's unlimited or unknow value