mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
When a module tries to being loaded, modperl looks for module.pm file. If there's no such file, it said "unable to find", which is bad in case when it's non-perl module. Loader of C++ modules clears sRetMsg string, so the message wasn't seen before (except debug and ZNC startup). But modpython does nothing with it (if python module doesn't set it itself), so in result we get stuff like "Loaded module [xxx] [Unable to find module [xxx]] [/home/user/.znc/modules/xxx.py]" which is pretty confusing. So now if perl version of the module isn't found, we just pass control to next available module loader without any error messages. Thanks to macmaN for reporting this.
7.6 KiB
7.6 KiB