diff --git a/Modules.cpp b/Modules.cpp index df89a7aa..309f3723 100644 --- a/Modules.cpp +++ b/Modules.cpp @@ -1045,7 +1045,7 @@ ModHandle CModules::OpenModule(const CString& sModule, const CString& sModPath, return NULL; } - typedef CString (*sFP)(); + typedef const char *(*sFP)(); sFP GetDesc = (sFP) dlsym(p, "ZNCModDescription"); if (!GetDesc) {