]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/dynamic.cpp
Add support for blocking tag messages with the deaf mode.
[user/henk/code/inspircd.git] / src / dynamic.cpp
index 609766c13eb15d38493ba117839369a7c06d011a..5f69820c9ec84805a1bae24f9f7009c193bc392f 100644 (file)
@@ -10,7 +10,7 @@
  *   Copyright (C) 2009 Uli Schlachter <psychon@inspircd.org>
  *   Copyright (C) 2007 Robin Burchell <robin+git@viroteck.net>
  *   Copyright (C) 2007 Dennis Friis <peavey@inspircd.org>
- *   Copyright (C) 2006, 2010 Craig Edwards <brain@inspircd.org>
+ *   Copyright (C) 2003, 2006, 2010 Craig Edwards <brain@inspircd.org>
  *
  * 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<const unsigned long>(MODULE_STR_ABI);
        if (!abi)
        {