mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
This function works like GetModInfo(), but takes the full path to the module, too. This is used to speed up GetAvailableMods(). Before it created a list of module paths, extracted the names and then called GetModInfo() on those module names which looked up the path for the modules again. This extra step is now skipped and the module's path is used directly. To make this work, the call to FindModPath() was moved from OpenModule() into its two callers LoadModule() and GetModInfo(). git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1613 726aef4b-f618-498e-8847-2d620e286838
34 KiB
34 KiB