diff options
-rw-r--r-- | core/componentmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua index afed1df3..f8db2d2c 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -58,7 +58,7 @@ function register_component(host, component) end
end
-function deregister_component(host, component) +function deregister_component(host) if components[host] then module_unload(host, "dialback"); components[host] = nil; |