From f9c920a728d1a8406fa4a15a395eee23b9bccc7a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Feb 2018 20:49:01 +0300 Subject: Add interface into loginlog.c. --- src/login/ipban.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/login/ipban.c') diff --git a/src/login/ipban.c b/src/login/ipban.c index 46798ea45..60a90fec9 100644 --- a/src/login/ipban.c +++ b/src/login/ipban.c @@ -269,7 +269,7 @@ void ipban_log(uint32 ip) if (!login->config->ipban) return;// ipban disabled - failures = loginlog_failedattempts(ip, login->config->dynamic_pass_failure_ban_interval);// how many times failed account? in one ip. + failures = loginlog->failedattempts(ip, login->config->dynamic_pass_failure_ban_interval);// how many times failed account? in one ip. // if over the limit, add a temporary ban entry if (failures >= login->config->dynamic_pass_failure_ban_limit) -- cgit v1.2.3-70-g09d2