summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-16 12:21:26 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-16 12:21:26 +0000
commit236f3f46336cf648284b28a6b4bf7ffcec27fbd4 (patch)
treef9150ffcf2b1e746dd546d1f63086b501aec7920 /src/map/map.c
parent4256612cd7254d789cb90daa0e49f82e67dc0226 (diff)
downloadhercules-236f3f46336cf648284b28a6b4bf7ffcec27fbd4.tar.gz
hercules-236f3f46336cf648284b28a6b4bf7ffcec27fbd4.tar.bz2
hercules-236f3f46336cf648284b28a6b4bf7ffcec27fbd4.tar.xz
hercules-236f3f46336cf648284b28a6b4bf7ffcec27fbd4.zip
* Updated jA's dummy socket to mod1137
* Added jA's ddos protection system * Moved stall_time's reading to packet_athena.conf git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1237 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 7c8275cf9..3a6a29fde 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2896,8 +2896,10 @@ int inter_config_read(char *cfgName)
i=sscanf(line,"%[^:]: %[^\r\n]",w1,w2);
if(i!=2)
continue;
- if(strcmpi(w1,"stall_time")==0){
- stall_time_ = atoi(w2);
+ //support the import command, just like any other config
+ if(strcmpi(w1,"import")==0){
+ inter_config_read(w2);
+ }
#ifndef TXT_ONLY
} else if(strcmpi(w1,"item_db_db")==0){
strcpy(item_db_db,w2);
@@ -2959,9 +2961,6 @@ int inter_config_read(char *cfgName)
} else if(strcmpi(w1,"log_db_port")==0) {
log_db_port = atoi(w2);
#endif
- //support the import command, just like any other config
- } else if(strcmpi(w1,"import")==0){
- inter_config_read(w2);
}
}
fclose(fp);