Revert "Core modules cannot be unloaded, otherwise bad things happen."

This reverts commit b5cfad0319.
This commit is contained in:
Simon Arlott 2017-07-29 23:51:54 +01:00
parent 2f0b6f83bd
commit a7fed8715b
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24

View file

@ -294,9 +294,6 @@ unload_one_module(const char *name, bool warn)
if((mod = findmodule_byname(name)) == NULL)
return false;
if(mod->core)
return false;
/*
** XXX - The type system in C does not allow direct conversion between
** data and function pointers, but as it happens, most C compilers will