]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/dynamic.cpp
Refactor port binding, warning not yet tested fully
[user/henk/code/inspircd.git] / src / dynamic.cpp
index 76efd4b1f388f900e73eabf719ec40a061678d45..3d2d15b4f4cb3c65ae8a338931d0a996e4259758 100644 (file)
@@ -2,20 +2,15 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- *                       E-mail:
- *                <brain@chatspike.net>
- *               <Craig@chatspike.net>
- *     
- * Written by Craig Edwards, Craig McLure, and others.
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
  *
  * ---------------------------------------------------
  */
 
-using namespace std;
-
 #include "configreader.h"
 #include "dynamic.h"
 
@@ -38,13 +33,10 @@ DLLManager::DLLManager(InspIRCd* ServerInstance, const char *fname)
        }
 #ifdef STATIC_LINK
        this->staticname[0] = '\0';
-       ServerInstance->Log(DEBUG,"Loading core-compiled module '%s'",fname);
        for (int j = 0; modsyms[j].name; j++)
        {
-               ServerInstance->Log(DEBUG,"Check %s",modsyms[j].name);
                if (!strcmp(modsyms[j].name,fname))
                {
-                       ServerInstance->Log(DEBUG,"Found %s",fname);
                        strlcpy(this->staticname,fname,1020);
                        err = 0;
                        return;
@@ -56,11 +48,8 @@ DLLManager::DLLManager(InspIRCd* ServerInstance, const char *fname)
        if (!h)
        {
                err = (char*)dlerror();
-               ServerInstance->Log(DEBUG,"dlerror '%s' occured!", err);
                return;
        }
-
-       ServerInstance->Log(DEBUG,"Finished loading '%s': %0x", fname, h);
 #endif
 }