#446 pluginloader does not load libs from plugin_paths

Reporter d.george@tarent.de
Owner Nobody
Stars ★ (1)
  • Priority-Medium
  • Status-Accepted
  • Type-Defect
  1. d.george@tarent.de on

    The pluginloader only loads modules from plugin_paths, not libs. That results in, for example, ldap.lib.lua not being found when loading mod_storage_ldap from prosody-modules and not copying it to CONF_PLUGINDIR.

  2. Zash on

    pluginloader loads libs from the current modules directory, but ldap.lib.lua is not found in eg mod_storage_ldap/. This can be worked around by doing module:require("mod_lib_ldap/ldap"), but improving this would be nice.

    • tag Status-Accepted

New comment

Not published. Used for spam prevention and optional update notifications.