summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-19 22:28:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-19 22:28:11 +0000
commit32d9979d48d0b448576c472168837f2d745004b5 (patch)
tree9b62a32d4e8a01e369f49e7416e19eee69f21b7c /src
parent4874c63f738fd1139e0c6a889d02de6b4cc30187 (diff)
Fix (tested) for failing dlsym on win32
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7051 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index be94c0995..54117331f 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -468,7 +468,7 @@ bool CommandParser::FindSym(void** v, void* h)
{
*v = dlsym(h, "init_command");
const char* err = dlerror();
- if (err)
+ if (err && !(*v))
{
ServerInstance->Log(SPARSE, "Error loading core command: %s\n", err);
return false;