mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
CModules::OpenModule shouldn't return false
This commit is contained in:
@@ -1074,7 +1074,7 @@ ModHandle CModules::OpenModule(const CString& sModule, const CString& sModPath,
|
|||||||
if (!GetDesc) {
|
if (!GetDesc) {
|
||||||
dlclose(p);
|
dlclose(p);
|
||||||
sRetMsg = "Could not find ZNCModDescription() in module [" + sModule + "]";
|
sRetMsg = "Could not find ZNCModDescription() in module [" + sModule + "]";
|
||||||
return false;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CModule::GetCoreVersion() != Version()) {
|
if (CModule::GetCoreVersion() != Version()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user