summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-11 20:05:55 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-11 20:05:55 +0000
commit004e7b1383b1a3aa9e0a4cdab746410c100b0305 (patch)
tree1079672403751c7bb0cf0bf7e4c14ac7b73739a8 /src
parent75d8e3d12caacd6a538982bb5c31ff1ce6f34527 (diff)
downloadhercules-004e7b1383b1a3aa9e0a4cdab746410c100b0305.tar.gz
hercules-004e7b1383b1a3aa9e0a4cdab746410c100b0305.tar.bz2
hercules-004e7b1383b1a3aa9e0a4cdab746410c100b0305.tar.xz
hercules-004e7b1383b1a3aa9e0a4cdab746410c100b0305.zip
- Removed useless inter_athena settings (they were doing absolutely nothing): read_gm_interval, gm_db, gm_db_level, gm_db_account_id, use_new_sql_db
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8968 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/map.c14
-rw-r--r--src/map/map.h6
2 files changed, 0 insertions, 20 deletions
diff --git a/src/map/map.c b/src/map/map.c
index e7e2ad7b7..a05dcc465 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -106,12 +106,6 @@ char mail_server_pw[32] = "ragnarok";
char mail_server_db[32] = "ragnarok";
int mail_server_enable = 0;
-char gm_db[32] = "login";
-char gm_db_level[32] = "level";
-char gm_db_account_id[32] = "account_id";
-
-int read_gm_interval = 600000;
-
char char_db[32] = "char";
char mail_db[32] = "mail";
@@ -3457,12 +3451,6 @@ int inter_config_read(char *cfgName)
strcpy(login_db,w2);
} else if (strcmpi(w1, "char_db") == 0) {
strcpy(char_db, w2);
- } else if(strcmpi(w1,"gm_db_level")==0){
- strcpy(gm_db_level,w2);
- } else if(strcmpi(w1,"gm_db_account_id")==0){
- strcpy(gm_db_account_id,w2);
- } else if(strcmpi(w1,"gm_db")==0){
- strcpy(gm_db,w2);
//Map Server SQL DB
} else if(strcmpi(w1,"map_server_ip")==0){
strcpy(map_server_ip, w2);
@@ -3492,8 +3480,6 @@ int inter_config_read(char *cfgName)
strcpy(login_server_pw, w2);
} else if(strcmpi(w1,"login_server_db")==0){
strcpy(login_server_db, w2);
- } else if(strcmpi(w1,"read_gm_interval")==0){
- read_gm_interval = ( atoi(w2) * 60 * 1000 ); // Minutes multiplied by 60 secs per min by 1000 milliseconds per second
}else if(strcmpi(w1, "char_server_ip") == 0){
strcpy(charsql_host, w2);
}else if(strcmpi(w1, "char_server_port") == 0){
diff --git a/src/map/map.h b/src/map/map.h
index e05647bc4..9ea81ef4c 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -1473,12 +1473,6 @@ extern char login_db[32];
extern char login_db_level[32];
extern char login_db_account_id[32];
-extern char gm_db[32];
-extern char gm_db_level[32];
-extern char gm_db_account_id[32];
-
-extern int read_gm_interval;
-
extern char char_db[32];
extern char mail_db[32];