summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-18 08:37:54 +0100
committerHaru <haru@dotalux.com>2013-11-18 08:37:54 +0100
commitd92c113f9266f75bb4ee49a7e69b443018fb4c90 (patch)
treee8c7225cb2d06bc8deadee42ec96ac474d614dd0
parentd9a89c56ea63e369999ca13f1584eef9e511490f (diff)
downloadhercules-d92c113f9266f75bb4ee49a7e69b443018fb4c90.tar.gz
hercules-d92c113f9266f75bb4ee49a7e69b443018fb4c90.tar.bz2
hercules-d92c113f9266f75bb4ee49a7e69b443018fb4c90.tar.xz
hercules-d92c113f9266f75bb4ee49a7e69b443018fb4c90.zip
Follow-up to d9a89c56ea63e369999ca13f1584eef9e511490f
- Updated db2sql plugin to reflect the latest changes. - Fixes bugreport:7835, special thanks to ossi0110 http://hercules.ws/board/tracker/issue-7835-db2sql-plugin-error/ Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--src/plugins/db2sql.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/db2sql.c b/src/plugins/db2sql.c
index b3d389527..3c3981bdd 100644
--- a/src/plugins/db2sql.c
+++ b/src/plugins/db2sql.c
@@ -139,7 +139,7 @@ void do_db2sql(void) {
memset(&tosql.buf, 0, sizeof(tosql.buf) );
itemdb->clear(false);
- itemdb->readdb("re/item_db.conf");
+ itemdb->readdb_libconfig("re/item_db.conf");
fclose(tosql.fp);
@@ -152,7 +152,7 @@ void do_db2sql(void) {
totable();
itemdb->clear(false);
- itemdb->readdb("pre-re/item_db.conf");
+ itemdb->readdb_libconfig("pre-re/item_db.conf");
fclose(tosql.fp);
@@ -165,7 +165,7 @@ void do_db2sql(void) {
totable();
itemdb->clear(false);
- itemdb->readdb("item_db2.conf");
+ itemdb->readdb_libconfig("item_db2.conf");
fclose(tosql.fp);