Revert "Core modules cannot be unloaded, otherwise bad things happen."
This reverts commit b5cfad0319
.
This commit is contained in:
parent
2f0b6f83bd
commit
a7fed8715b
1 changed files with 0 additions and 3 deletions
|
@ -294,9 +294,6 @@ unload_one_module(const char *name, bool warn)
|
||||||
if((mod = findmodule_byname(name)) == NULL)
|
if((mod = findmodule_byname(name)) == NULL)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if(mod->core)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** XXX - The type system in C does not allow direct conversion between
|
** XXX - The type system in C does not allow direct conversion between
|
||||||
** data and function pointers, but as it happens, most C compilers will
|
** data and function pointers, but as it happens, most C compilers will
|
||||||
|
|
Loading…
Reference in a new issue