summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-03 22:03:38 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-03 22:03:38 +0000
commit0a869055ea95e069331b98b678221850b5cff54d (patch)
tree7abe1cd44b59e302da2791c260141c8c1404c600 /src/char_sql
parent843e3e8f415864313f268cf1272b7d1c9c620035 (diff)
downloadhercules-0a869055ea95e069331b98b678221850b5cff54d.tar.gz
hercules-0a869055ea95e069331b98b678221850b5cff54d.tar.bz2
hercules-0a869055ea95e069331b98b678221850b5cff54d.tar.xz
hercules-0a869055ea95e069331b98b678221850b5cff54d.zip
- Merged mail system to Stable. Need a second check... please wait.
- No packet added until everything is done. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12287 54d463be-8e91-2dee-dedb-b68131a5f0ec
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]