mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Some more cleanup to module loading
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
+1
-1
@@ -839,7 +839,7 @@ bool CModules::LoadModule(const CString& sModule, const CString& sArgs, CModInfo
|
||||
pModule = Info.GetLoader()(p, pUser, sModule, sDataPath);
|
||||
break;
|
||||
case CModInfo::GlobalModule:
|
||||
pModule = Info.GetGlobalLoader()(p, sModule, sDataPath);
|
||||
pModule = Info.GetLoader()(p, NULL, sModule, sDataPath);
|
||||
break;
|
||||
default:
|
||||
dlclose(p);
|
||||
|
||||
Reference in New Issue
Block a user