summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 223e82372..7c8275cf9 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -3402,9 +3402,8 @@ int do_init(int argc, char *argv[]) {
if(battle_config.mail_system)
do_init_mail();
- if (log_config.branch || log_config.drop || log_config.mvpdrop ||
- log_config.present || log_config.produce || log_config.refine ||
- log_config.trade)
+ if (log_config.sql_logs && (log_config.branch || log_config.drop || log_config.mvpdrop ||
+ log_config.present || log_config.produce || log_config.refine || log_config.trade))
{
log_sql_init();
}