Fixed: modperl blocked loading of global modules.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2125 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
darthgandalf
2010-09-09 03:29:59 +00:00
parent f9d2f614db
commit 83f6366473
+3
View File
@@ -93,6 +93,9 @@ public:
virtual EModRet OnModuleLoading(const CString& sModName, const CString& sArgs,
bool& bSuccess, CString& sRetMsg) {
if (!GetUser()) {
return CONTINUE;
}
switch (LoadPerlModule(sModName, sArgs, GetUser(), sRetMsg)) {
case Perl_NotFound:
return CONTINUE;