From 32d9979d48d0b448576c472168837f2d745004b5 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 19 May 2007 22:28:11 +0000 Subject: Fix (tested) for failing dlsym on win32 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7051 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3