summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-07-08 15:11:32 +0200
committerHaru <haru@dotalux.com>2015-08-09 21:14:02 +0200
commit8caa0e564b5331a88d8dc1712513368b37ba9694 (patch)
treec9a1f5db3f1657c8c7bd1be409d937fe46d23c9b /src
parent84e02ac28fbb15c58d0a0f8a916b49663198b05b (diff)
downloadhercules-8caa0e564b5331a88d8dc1712513368b37ba9694.tar.gz
hercules-8caa0e564b5331a88d8dc1712513368b37ba9694.tar.bz2
hercules-8caa0e564b5331a88d8dc1712513368b37ba9694.tar.xz
hercules-8caa0e564b5331a88d8dc1712513368b37ba9694.zip
Removed unused tables sstatus and interreg
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c3
-rw-r--r--src/char/char.h1
-rw-r--r--src/map/map.c3
-rw-r--r--src/map/map.h1
4 files changed, 0 insertions, 8 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 7b1078e37..b6ce70985 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -80,7 +80,6 @@ char mercenary_db[256] = "mercenary";
char mercenary_owner_db[256] = "mercenary_owner";
char ragsrvinfo_db[256] = "ragsrvinfo";
char elemental_db[256] = "elemental";
-char interreg_db[32] = "interreg";
char account_data_db[256] = "account_data";
char acc_reg_num_db[32] = "acc_reg_num_db";
char acc_reg_str_db[32] = "acc_reg_str_db";
@@ -5582,8 +5581,6 @@ void char_sql_config_read(const char* cfgName)
safestrncpy(ragsrvinfo_db,w2,sizeof(ragsrvinfo_db));
else if(!strcmpi(w1,"elemental_db"))
safestrncpy(elemental_db,w2,sizeof(elemental_db));
- else if(!strcmpi(w1,"interreg_db"))
- safestrncpy(interreg_db,w2,sizeof(interreg_db));
else if(!strcmpi(w1,"account_data_db"))
safestrncpy(account_data_db,w2,sizeof(account_data_db));
else if(!strcmpi(w1,"char_reg_num_db"))
diff --git a/src/char/char.h b/src/char/char.h
index 5f2f8571a..b3aa7bc34 100644
--- a/src/char/char.h
+++ b/src/char/char.h
@@ -99,7 +99,6 @@ extern char mercenary_db[256];
extern char mercenary_owner_db[256];
extern char ragsrvinfo_db[256];
extern char elemental_db[256];
-extern char interreg_db[32];
extern char acc_reg_num_db[32];
extern char acc_reg_str_db[32];
extern char char_reg_str_db[32];
diff --git a/src/map/map.c b/src/map/map.c
index 2ad13bea3..abbc5c954 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -3730,8 +3730,6 @@ int inter_config_read(char *cfgName) {
safestrncpy(map->mob_skill_db_db, w2, sizeof(map->mob_skill_db_db));
else if(strcmpi(w1,"mob_skill_db2_db")==0)
safestrncpy(map->mob_skill_db2_db, w2, sizeof(map->mob_skill_db2_db));
- else if(strcmpi(w1,"interreg_db")==0)
- safestrncpy(map->interreg_db, w2, sizeof(map->interreg_db));
/* map sql stuff */
else if(strcmpi(w1,"map_server_ip")==0)
safestrncpy(map->server_ip, w2, sizeof(map->server_ip));
@@ -6113,7 +6111,6 @@ void map_defaults(void) {
sprintf(map->mob_db2_db, "mob_db2");
sprintf(map->mob_skill_db_db, "mob_skill_db");
sprintf(map->mob_skill_db2_db, "mob_skill_db2");
- sprintf(map->interreg_db, "interreg");
map->INTER_CONF_NAME="conf/inter-server.conf";
map->LOG_CONF_NAME="conf/logs.conf";
diff --git a/src/map/map.h b/src/map/map.h
index 8d879cd56..826548f49 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -861,7 +861,6 @@ struct map_interface {
char mob_db2_db[32];
char mob_skill_db_db[32];
char mob_skill_db2_db[32];
- char interreg_db[32];
char autotrade_merchants_db[32];
char autotrade_data_db[32];
char npc_market_data_db[32];