diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-08 23:26:00 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-08 23:26:00 +0000 |
commit | 5eaad65d1b39258928f49f6dcd98a08800e01444 (patch) | |
tree | a761dd0c4f544dcfa07bdac250deab3abfad6a28 /src/char_sql/char.c | |
parent | 655384295651f8611b0caa2022cbceac073c1b4d (diff) | |
download | hercules-5eaad65d1b39258928f49f6dcd98a08800e01444.tar.gz hercules-5eaad65d1b39258928f49f6dcd98a08800e01444.tar.bz2 hercules-5eaad65d1b39258928f49f6dcd98a08800e01444.tar.xz hercules-5eaad65d1b39258928f49f6dcd98a08800e01444.zip |
- Added code for SQL that will automatically detect the ping interval at startup, and copy-pasted it around the code
- Removed the conf setting as it is not needed anymore
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9830 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r-- | src/char_sql/char.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index d71ea3483..f81f03cad 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -64,7 +64,6 @@ int save_log = 0; //Have the logs be off by default when converting #else int save_log = 1; int db_use_sqldbs; -int connection_ping_interval = 0; char login_db[256] = "login"; char login_db_account_id[32] = "account_id"; @@ -4033,8 +4032,6 @@ void sql_config_read(const char *cfgName){ /* Kalaspuff, to get login_db */ strcpy(item_db_db,w2); }else if(strcmpi(w1,"item_db2_db")==0){ strcpy(item_db2_db,w2); - } else if(strcmpi(w1,"connection_ping_interval")==0) { - connection_ping_interval = config_switch(w2); #endif //support the import command, just like any other config }else if(strcmpi(w1,"import")==0){ |