Browse Source

actually use found path in obs_load_module

Palana 12 years ago
parent
commit
727ed4d7ec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs/obs-module.c

+ 1 - 1
libobs/obs-module.c

@@ -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;