summaryrefslogtreecommitdiff
path: root/src/dynamic.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-12 23:41:43 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-12 23:41:43 +0000
commit2602f4efbd36f395d2186f9609cbd16734416a67 (patch)
tree4bec015e5ac1dfd77149e07f37acad156d55249c /src/dynamic.cpp
parent0d9a2dc982d379b5b16382b9e44329414521aeba (diff)
Encode module API version in the init_module symbol; fixes conflic with glibc-exported init_module
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11863 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dynamic.cpp')
-rw-r--r--src/dynamic.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dynamic.cpp b/src/dynamic.cpp
index b993b8af5..637a57db4 100644
--- a/src/dynamic.cpp
+++ b/src/dynamic.cpp
@@ -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();