Mod detection via cw_mod_detect
FossilOrigin-Name: ca7afed73bf58840bb8ceabd09586b852eacc0995aff8da33a71de25afc1c043
This commit is contained in:
@ -580,16 +580,8 @@ static int conf_read_mods(cfg_t *cfg){
|
||||
struct cw_Mod * mod = cw_mod_load(modname);
|
||||
if (!mod)
|
||||
return 0;
|
||||
|
||||
/* conf_mods[i] = NULL; //modload_ac(modname);
|
||||
if (!conf_mods[i]){
|
||||
cw_log(LOG_ERR,"Can't load mod: %s",modname);
|
||||
return 0;
|
||||
}
|
||||
*/
|
||||
|
||||
cw_mod_add_to_list(mod);
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user