X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=include%2Fdynamic.h;h=727ed11e1576b37856426e0f35840010aea97358;hb=8c2d96013084de950e3a63be4ae6ed626c4093ab;hp=6de5661175ec5ebf4d41e271b22b1f8f36719843;hpb=b37ec974ee20b943a9129ae054390a565c49bd3c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/dynamic.h b/include/dynamic.h index 6de566117..727ed11e1 100644 --- a/include/dynamic.h +++ b/include/dynamic.h @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2007 InspIRCd Development Team + * InspIRCd: (C) 2002-2008 InspIRCd Development Team * See: http://www.inspircd.org/wiki/index.php/Credits * * This program is free but copyrighted software; see @@ -14,8 +14,6 @@ #ifndef __DLL_H #define __DLL_H -#include "inspircd_config.h" - /** The DLLManager class is able to load a module file by filename, * and locate its init_module symbol. */ @@ -25,7 +23,7 @@ class CoreExport DLLManager /** The last error string, or NULL */ - char *err; + const char *err; public: /** This constructor loads the module using dlopen() @@ -46,7 +44,7 @@ class CoreExport DLLManager /** Get the last error from dlopen() or dlsym(). * @return The last error string, or NULL if no error has occured. */ - char* LastError() + const char* LastError() { return err; }