From db43fb1b34028335e2cec64bf7e7b26761f2b37d Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 25 Oct 2009 19:36:15 -0600 Subject: Prevent auto bans from multiplying --- src/map/pc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/pc.c') 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'; -- cgit v1.2.3-60-g2f50