Some more cleanup to module loading

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2011-08-21 17:00:08 +02:00
parent 80c76c97a6
commit 26368a6c29
2 changed files with 5 additions and 15 deletions
+1 -1
View File
@@ -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);