mirror of
https://github.com/znc/znc.git
synced 2026-07-21 09:03:32 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user