Add <security:allowcoreunload>.

When enabled (the default) this setting prevents the unloading of
core modules such as m_privmsg.