]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/dynamic.cpp
Remove Command and ModeHandler objects in their destructors; fixes possible pointer...
[user/henk/code/inspircd.git] / src / dynamic.cpp
index b993b8af579d8d8026ec56b8e92d1aab0162ce96..637a57db4552c7d6c415ee5e44a1aca24335e590 100644 (file)
@@ -11,8 +11,6 @@
  * ---------------------------------------------------
  */
 
-/* $Core */
-
 #include "inspircd.h"
 #include "dynamic.h"
 #ifndef WIN32
@@ -53,7 +51,7 @@ Module* DLLManager::callInit()
                return NULL;
 
        init_t initfn;
-       initfn.vptr = dlsym(h, "init_module");
+       initfn.vptr = dlsym(h, MODULE_INIT_STR);
        if (!initfn.vptr)
        {
                err = dlerror();