diff --git a/plugin_manager.c b/plugin_manager.c index 3fa8b63..ebdb44c 100644 --- a/plugin_manager.c +++ b/plugin_manager.c @@ -72,7 +72,7 @@ void * plugin_from_file(char* name) { void *lib_handle; char* error; - char* path = __s("%s%s%s",config()->plugins_dir,name,config()->plugins_ext); + char* path = __s("%s/%s%s",config()->plugins_dir,name,config()->plugins_ext); void (*fn)(const char*); lib_handle = dlopen(path, RTLD_LAZY); if (!lib_handle)