summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-07-06 11:23:10 -0600
committerJared Adams <jaxad0127@gmail.com>2009-07-06 11:23:10 -0600
commit2e87e5b65a02d8d9f867a0510f039cc319b3ffcb (patch)
treebd6fe5b0fe8d0f9296eb1f3eea0d69aca9196cfe /src/map/pc.c
parentad8f53edc80811b933c9e2e0f469ef6e6a25972d (diff)
downloadtmwa-2e87e5b65a02d8d9f867a0510f039cc319b3ffcb.tar.gz
tmwa-2e87e5b65a02d8d9f867a0510f039cc319b3ffcb.tar.bz2
tmwa-2e87e5b65a02d8d9f867a0510f039cc319b3ffcb.tar.xz
tmwa-2e87e5b65a02d8d9f867a0510f039cc319b3ffcb.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