summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/char.c3
-rw-r--r--src/char_sql/char.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index c3fcde1e1..f3c8a8b63 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -60,6 +60,7 @@ char guild_storage_db[256] = "guild_storage";
char party_db[256] = "party";
char pet_db[256] = "pet";
char mail_db[256] = "mail"; // MAIL SYSTEM
+char auction_db[256] = "auction"; // Auctions System
char friend_db[256] = "friends";
char hotkey_db[256] = "hotkey";
@@ -3598,6 +3599,8 @@ void sql_config_read(const char* cfgName)
strcpy(pet_db,w2);
else if(!strcmpi(w1,"mail_db"))
strcpy(mail_db,w2);
+ else if(!strcmpi(w1,"auction_db"))
+ strcpy(auction_db,w2);
else if(!strcmpi(w1,"friend_db"))
strcpy(friend_db,w2);
else if(!strcmpi(w1,"hotkey_db"))
diff --git a/src/char_sql/char.h b/src/char_sql/char.h
index 63f302808..f44c40bea 100644
--- a/src/char_sql/char.h
+++ b/src/char_sql/char.h
@@ -58,6 +58,7 @@ extern char guild_storage_db[256];
extern char party_db[256];
extern char pet_db[256];
extern char mail_db[256];
+extern char auction_db[256];
extern int db_use_sqldbs; // added for sql item_db read for char server [Valaris]