summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
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");
}
/**