diff options
Diffstat (limited to 'modules/commands/os_module.cpp')
-rw-r--r-- | modules/commands/os_module.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_module.cpp b/modules/commands/os_module.cpp index 4036c7edc..52401b545 100644 --- a/modules/commands/os_module.cpp +++ b/modules/commands/os_module.cpp @@ -139,7 +139,7 @@ class CommandOSModUnLoad : public Command source.Reply(_("Module \002%s\002 isn't loaded."), mname.c_str()); return; } - + if (!m->handle || m->GetPermanent() || m->type == PROTOCOL) { source.Reply(_("Unable to remove module \002%s\002."), m->name.c_str()); |