make dnsapi read plugin config + a bug fix for launcher

This commit is contained in:
somewhatlurker
2019-08-30 00:16:35 +10:00
parent 485b9bc1db
commit e0e59fc625
2 changed files with 3 additions and 2 deletions
@@ -295,7 +295,7 @@ std::vector<PluginInfo> LoadPlugins()
(ffd.cFileName[pos - 1] == 'a' || ffd.cFileName[pos - 1] == 'A'))
{
PluginInfo thisplugin;
thisplugin.handle = LoadLibraryW(ffd.cFileName);
thisplugin.handle = LoadLibraryW((PLUGINS_DIR + L"\\" + ffd.cFileName).c_str());
thisplugin.filename = ffd.cFileName;
if (thisplugin.handle == NULL)