diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-25 19:36:15 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-25 19:36:15 -0600 |
commit | db43fb1b34028335e2cec64bf7e7b26761f2b37d (patch) | |
tree | 1ed16941b8cabb7fd93f59450cac460f454af2f0 /src/map/pc.c | |
parent | f35eb0f269b2e7a2cdbd8ab9e66422decbaeeaaa (diff) | |
download | tmwa-db43fb1b34028335e2cec64bf7e7b26761f2b37d.tar.gz tmwa-db43fb1b34028335e2cec64bf7e7b26761f2b37d.tar.bz2 tmwa-db43fb1b34028335e2cec64bf7e7b26761f2b37d.tar.xz tmwa-db43fb1b34028335e2cec64bf7e7b26761f2b37d.zip |
Prevent auto bans from multiplying
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 0b251cc..75ae42c 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -841,6 +841,8 @@ int pc_authok(int id, int login_id2, time_t connect_until_time, short tmw_versio } } + sd->auto_ban_info.in_progress = 0; + // Initialize antispam vars sd->chat_reset_due = sd->chat_lines_in = sd->chat_total_repeats = sd->chat_repeat_reset_due = 0; sd->chat_lastmsg[0] = '\0'; |