mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user