diff options
Diffstat (limited to 'src/login/loginlog_sql.c')
-rw-r--r-- | src/login/loginlog_sql.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/login/loginlog_sql.c b/src/login/loginlog_sql.c index 96bff6957..69a1c1910 100644 --- a/src/login/loginlog_sql.c +++ b/src/login/loginlog_sql.c @@ -81,6 +81,9 @@ bool loginlog_config_read(const char* key, const char* value) if( strcmpi(key, "log_db_pw") == 0 ) safestrncpy(log_db_pw, value, sizeof(log_db_pw)); else + if( strcmpi(key, "log_db_db") == 0 ) + safestrncpy(log_db_db, value, sizeof(log_db_db)); + else if( strcmpi(key, "log_db") == 0 ) safestrncpy(log_db, value, sizeof(log_db)); else |