Only remove module if it fails to load, not if it just isn't enabled.

SVN revision: 14596
This commit is contained in:
sebastid 2005-05-04 09:59:02 +00:00 committed by sebastid
parent 56e12df8b0
commit 07a635bcad
1 changed files with 4 additions and 1 deletions

View File

@ -54,7 +54,10 @@ e_module_init(void)
pl = l;
l = l->next;
m = e_module_new(em->name);
if ((em->enabled) && (m)) e_module_enable(m);
if (m)
{
if (em->enabled) e_module_enable(m);
}
else
{
IF_FREE(em->name);