aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-01-13 19:17:25 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-01-13 19:17:25 +0500
commitc6365f205ec7656cf3f63c9b4fd01208d07778aa (patch)
tree16d94867dd385d029bd543990f1532579b1289b2
parent9015fd411c49a058828dec19e0935405d8f57c55 (diff)
downloadprosody-c6365f205ec7656cf3f63c9b4fd01208d07778aa.tar.gz
prosody-c6365f205ec7656cf3f63c9b4fd01208d07778aa.zip
componentmanager: Removed unneeded parameter from componentmanager.deregister_component
-rw-r--r--core/componentmanager.lua2
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;