summaryrefslogtreecommitdiff
path: root/src/login/ipban.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/ipban.c')
-rw-r--r--src/login/ipban.c2
1 files changed, 1 insertions, 1 deletions
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)