summaryrefslogtreecommitdiff
path: root/src/map/log.c
diff options
context:
space:
mode:
authorajarn <ajarn@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-19 09:35:11 +0000
committerajarn <ajarn@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-19 09:35:11 +0000
commitd43a32db7a636ee550520e8aadf49ca241d253d3 (patch)
tree044044181b96e797ada4f02b460f3f582d84a670 /src/map/log.c
parent7014f39322d1b0c16bee3a33e6f26bc3aaf9ceec (diff)
downloadhercules-d43a32db7a636ee550520e8aadf49ca241d253d3.tar.gz
hercules-d43a32db7a636ee550520e8aadf49ca241d253d3.tar.bz2
hercules-d43a32db7a636ee550520e8aadf49ca241d253d3.tar.xz
hercules-d43a32db7a636ee550520e8aadf49ca241d253d3.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@637 54d463be-8e91-2dee-dedb-b68131a5f0ec
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);
}
}
}