actually use found path in obs_load_module

This commit is contained in:
Palana
2013-11-02 00:52:34 +01:00
parent 8847d11e8e
commit 727ed4d7ec

View File

@@ -84,7 +84,7 @@ int obs_load_module(const char *path)
bool (*module_load)(void) = NULL;
char *plugin_path = find_plugin(path);
mod.module = os_dlopen(path);
mod.module = os_dlopen(plugin_path);
bfree(plugin_path);
if (!mod.module)
return MODULE_FILENOTFOUND;