diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-01-13 19:17:25 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-01-13 19:17:25 +0500 |
commit | c6365f205ec7656cf3f63c9b4fd01208d07778aa (patch) | |
tree | 16d94867dd385d029bd543990f1532579b1289b2 /core/componentmanager.lua | |
parent | 9015fd411c49a058828dec19e0935405d8f57c55 (diff) | |
download | prosody-c6365f205ec7656cf3f63c9b4fd01208d07778aa.tar.gz prosody-c6365f205ec7656cf3f63c9b4fd01208d07778aa.zip |
componentmanager: Removed unneeded parameter from componentmanager.deregister_component
Diffstat (limited to 'core/componentmanager.lua')
-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; |