From 07fd781c839ca0fc0bbb87bf4c02e958a771788f Mon Sep 17 00:00:00 2001 From: psychon Date: Sun, 15 Nov 2009 18:47:28 +0000 Subject: [PATCH] Bug fix for my last commit (aka: Brown Paper Bag commit) When I tested it, it did work. I swear! Thanks to everyone who pointed out that I broke his znc. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1662 726aef4b-f618-498e-8847-2d620e286838 --- Modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {