#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.
*/
/** The last error string, or NULL
*/
- char *err;
+ const char *err;
public:
/** This constructor loads the module using dlopen()
/** 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;
}