summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-08-11 01:57:27 +0200
committerHaru <haru@dotalux.com>2015-08-13 17:16:27 +0200
commit3a8941f10d86563b9e881519846012e23299a45f (patch)
treeda83931ac59905fa8b60c37a333295adff5155b1 /src/login
parent50cacd3089a6d1f349837b1b80e8bd4f20d2c3c2 (diff)
downloadhercules-3a8941f10d86563b9e881519846012e23299a45f.tar.gz
hercules-3a8941f10d86563b9e881519846012e23299a45f.tar.bz2
hercules-3a8941f10d86563b9e881519846012e23299a45f.tar.xz
hercules-3a8941f10d86563b9e881519846012e23299a45f.zip
Moved sql_handle into the HPMi interface
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/login')
-rw-r--r--src/login/HPMlogin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/HPMlogin.c b/src/login/HPMlogin.c
index 1530a1ccb..b1c097a52 100644
--- a/src/login/HPMlogin.c
+++ b/src/login/HPMlogin.c
@@ -42,6 +42,7 @@ bool HPM_login_grabHPData(struct HPDataOperationStorage *ret, enum HPluginDataTy
}
void HPM_login_plugin_load_sub(struct hplugin *plugin) {
+ plugin->hpi->sql_handle = account_db_sql_up(login->accounts);
}
void HPM_login_do_init(void) {