summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
Diffstat (limited to 'src/login')
-rw-r--r--src/login/ipban_sql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/ipban_sql.c b/src/login/ipban_sql.c
index 911ae23db..7354ea5b5 100644
--- a/src/login/ipban_sql.c
+++ b/src/login/ipban_sql.c
@@ -133,7 +133,7 @@ bool ipban_config_read(const char* key, const char* value)
if( strcmpi(key, "log_db_pw") == 0 )
safestrncpy(log_db_password, value, sizeof(log_db_password));
else
- if( strcmpi(key, "log_db") == 0 )
+ if( strcmpi(key, "log_db_db") == 0 )
safestrncpy(log_db_database, value, sizeof(log_db_database));
else
if( strcmpi(key, "loginlog_db") == 0 )