mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Ever since r1505 our error messages when loading modules all were the same: "Unable to find modinfo" Improve this by giving the user all the information we offered before again. The most useful one here is most likely the result from dlerror(). This is done by adding a helper function CModules::OpenModule(). Most of its code is from CModules::LoadModule() and this function and CModules::GetModInfo() now both use this helper function for generating error messages. This commit adds a "#warning", don't worry I'm working on it. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1596 726aef4b-f618-498e-8847-2d620e286838
34 KiB
34 KiB