* ---------------------------------------------------
*/
-/* $Core */
-
#include "inspircd.h"
#include "dynamic.h"
#ifndef WIN32
return;
}
- h = dlopen(fname, RTLD_NOW|RTLD_LOCAL|RTLD_NODELETE);
+ h = dlopen(fname, RTLD_NOW|RTLD_LOCAL);
if (!h)
{
err = dlerror();
return NULL;
init_t initfn;
- initfn.vptr = dlsym(h, "init_module");
+ initfn.vptr = dlsym(h, MODULE_INIT_STR);
if (!initfn.vptr)
{
err = dlerror();