CModules::OpenModule shouldn't return false
This commit is contained in:
1 parent
e6bff0c367
commit
c7c12f0b83
1 file changed
+1
-1
+1
-1
@@ -1074,7 +1074,7 @@ ModHandle CModules::OpenModule(const CString& sModule, const CString& sModPath,
|
||||
if (!GetDesc) {
|
||||
dlclose(p);
|
||||
sRetMsg = "Could not find ZNCModDescription() in module [" + sModule + "]";
|
||||
return false;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (CModule::GetCoreVersion() != Version()) {
|
||||
|
||||
Reference in new issue
Block a user