summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-08-11 01:57:27 +0200
committerHaru <haru@dotalux.com>2015-08-15 00:51:45 +0200
commit7c52605cabb4f5447055344733d69555c1948956 (patch)
tree190d940217ed17d231cde1af9feea606fb3842a6 /src/char
parent30987271e6d3c9eb202997494690ed102adeca87 (diff)
downloadhercules-7c52605cabb4f5447055344733d69555c1948956.tar.gz
hercules-7c52605cabb4f5447055344733d69555c1948956.tar.bz2
hercules-7c52605cabb4f5447055344733d69555c1948956.tar.xz
hercules-7c52605cabb4f5447055344733d69555c1948956.zip
Moved sql_handle into the HPMi interface
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char')
-rw-r--r--src/char/HPMchar.c1
-rw-r--r--src/char/char.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/char/HPMchar.c b/src/char/HPMchar.c
index b1ff72628..3e8470e9b 100644
--- a/src/char/HPMchar.c
+++ b/src/char/HPMchar.c
@@ -57,6 +57,7 @@ bool HPM_char_grabHPData(struct HPDataOperationStorage *ret, enum HPluginDataTyp
}
void HPM_char_plugin_load_sub(struct hplugin *plugin) {
+ plugin->hpi->sql_handle = inter->sql_handle;
}
void HPM_char_do_init(void) {
diff --git a/src/char/char.c b/src/char/char.c
index 811507602..625103b71 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -5824,7 +5824,6 @@ void char_hp_symbols(void) {
HPM->share(loginif, "loginif");
HPM->share(mapif, "mapif");
HPM->share(pincode, "pincode");
- HPM->share(inter->sql_handle, "sql_handle");
}
/**