This allows explicitly loading a module in the config so it's available
for later config items that might need it, and skips the double load
when main loads all modules, which would cause errors
if((c = rb_strcasestr(mod_displayname, LT_MODULE_EXT)) != NULL)
*c = '\0';
+ /* Quietly succeed if the module is already loaded */
+ if(findmodule_byname(mod_displayname) != NULL)
+ return true;
+
tmpptr = lt_dlopenext(path);
if(tmpptr == NULL)