diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-11 20:13:44 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-11 20:13:44 +0000 |
commit | 30943c2ef3d7665ec8059478b175ccb933265509 (patch) | |
tree | c521aa56253d46d0104d2f2521b45940d7493c96 /src/map | |
parent | 004e7b1383b1a3aa9e0a4cdab746410c100b0305 (diff) | |
download | hercules-30943c2ef3d7665ec8059478b175ccb933265509.tar.gz hercules-30943c2ef3d7665ec8059478b175ccb933265509.tar.bz2 hercules-30943c2ef3d7665ec8059478b175ccb933265509.tar.xz hercules-30943c2ef3d7665ec8059478b175ccb933265509.zip |
- Removed login-sql connection variables from the map-server (the hell, these aren't used at all!)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8969 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/map.c | 29 | ||||
-rw-r--r-- | src/map/map.h | 6 |
2 files changed, 0 insertions, 35 deletions
diff --git a/src/map/map.c b/src/map/map.c index a05dcc465..fadb59664 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -78,21 +78,11 @@ char default_codepage[32] = ""; //Feature by irmin. int db_use_sqldbs = 0; int connection_ping_interval = 0; -int login_server_port = 3306; -char login_server_ip[16] = "127.0.0.1"; -char login_server_id[32] = "ragnarok"; -char login_server_pw[32] = "ragnarok"; -char login_server_db[32] = "ragnarok"; - char item_db_db[32] = "item_db"; char item_db2_db[32] = "item_db2"; char mob_db_db[32] = "mob_db"; char mob_db2_db[32] = "mob_db2"; -char login_db[32] = "login"; -char login_db_level[32] = "level"; -char login_db_account_id[32] = "account_id"; - int log_db_port = 3306; char log_db_ip[16] = "127.0.0.1"; char log_db_id[32] = "ragnarok"; @@ -3443,12 +3433,6 @@ int inter_config_read(char *cfgName) strcpy(item_db2_db,w2); } else if(strcmpi(w1,"mob_db2_db")==0){ strcpy(mob_db2_db,w2); - } else if(strcmpi(w1,"login_db_level")==0){ - strcpy(login_db_level,w2); - } else if(strcmpi(w1,"login_db_account_id")==0){ - strcpy(login_db_account_id,w2); - } else if(strcmpi(w1,"login_db")==0){ - strcpy(login_db,w2); } else if (strcmpi(w1, "char_db") == 0) { strcpy(char_db, w2); //Map Server SQL DB @@ -3469,17 +3453,6 @@ int inter_config_read(char *cfgName) ShowStatus ("Using SQL dbs: %s\n",w2); } else if(strcmpi(w1,"connection_ping_interval")==0) { connection_ping_interval = battle_config_switch(w2); - //Login Server SQL DB - } else if(strcmpi(w1,"login_server_ip")==0){ - strcpy(login_server_ip, w2); - } else if(strcmpi(w1,"login_server_port")==0){ - login_server_port = atoi(w2); - } else if(strcmpi(w1,"login_server_id")==0){ - strcpy(login_server_id, w2); - } else if(strcmpi(w1,"login_server_pw")==0){ - strcpy(login_server_pw, w2); - } else if(strcmpi(w1,"login_server_db")==0){ - strcpy(login_server_db, w2); }else if(strcmpi(w1, "char_server_ip") == 0){ strcpy(charsql_host, w2); }else if(strcmpi(w1, "char_server_port") == 0){ @@ -3961,9 +3934,7 @@ int do_init(int argc, char *argv[]) { do_init_mail(); if (log_config.sql_logs) - { log_sql_init(); - } if (connection_ping_interval) { add_timer_func_list(map_sql_ping, "map_sql_ping"); diff --git a/src/map/map.h b/src/map/map.h index 9ea81ef4c..1c500a1cf 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -1468,13 +1468,7 @@ extern char item_db_db[32]; extern char item_db2_db[32];
extern char mob_db_db[32];
extern char mob_db2_db[32];
-extern char login_db[32];
-
-extern char login_db_level[32];
-extern char login_db_account_id[32];
-
extern char char_db[32];
-
extern char mail_db[32];
#endif /* not TXT_ONLY */
|