summaryrefslogtreecommitdiff
path: root/src/map/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/log.c')
-rw-r--r--src/map/log.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/log.c b/src/map/log.c
index e6274b6f7..be8280b7f 100644
--- a/src/map/log.c
+++ b/src/map/log.c
@@ -471,6 +471,9 @@ int log_config_read(char *cfgName)
strcpy(log_config.log_gm, w2);
if(log_config.gm > 0)
printf("Logging GM Level %d Commands to file `%s`.txt\n", log_config.gm, w2);
+ //support the import command, just like any other config
+ } else if(strcmpi(w1,"import")==0){
+ log_config_read(w2);
}
}
}