X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fdynamic.cpp;h=5f69820c9ec84805a1bae24f9f7009c193bc392f;hb=7b1ab06a9551d8db141ebc9213836af6b5369284;hp=609766c13eb15d38493ba117839369a7c06d011a;hpb=44489ddf7e90413d8f656aea24d74445bab227af;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/dynamic.cpp b/src/dynamic.cpp index 609766c13..5f69820c9 100644 --- a/src/dynamic.cpp +++ b/src/dynamic.cpp @@ -10,7 +10,7 @@ * Copyright (C) 2009 Uli Schlachter * Copyright (C) 2007 Robin Burchell * Copyright (C) 2007 Dennis Friis - * Copyright (C) 2006, 2010 Craig Edwards + * Copyright (C) 2003, 2006, 2010 Craig Edwards * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -69,6 +69,9 @@ DLLManager::~DLLManager() Module* DLLManager::CallInit() { + if (!lib) + return NULL; + const unsigned long* abi = GetSymbol(MODULE_STR_ABI); if (!abi) {