X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fdynamic.cpp;h=3df91e41f4037eb2f3fc1d550e3f4a229c2786a9;hb=414e65c75b95dd51e226ef9758e9260197c21da6;hp=2c0b4c72546c7e1ae822236bb6b0f0a96a2a8f37;hpb=256be7abde8c4f882c1fb491d485e4ce2f6985c9;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/dynamic.cpp b/src/dynamic.cpp index 2c0b4c725..3df91e41f 100644 --- a/src/dynamic.cpp +++ b/src/dynamic.cpp @@ -1,7 +1,8 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2017-2019 Sadie Powell + * Copyright (C) 2020 Matt Schatz + * Copyright (C) 2017-2020 Sadie Powell * Copyright (C) 2014 Attila Molnar * Copyright (C) 2012 Robby * Copyright (C) 2012 ChrisTX @@ -68,6 +69,9 @@ DLLManager::~DLLManager() Module* DLLManager::CallInit() { + if (!lib) + return NULL; + const unsigned long* abi = GetSymbol(MODULE_STR_ABI); if (!abi) {