Diff

plugins/mod_proxy65.lua @ 3604:3e89f0509967

prosody: Removed all references to componentmanager from Prosody, except the main componentmanager file.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 10 Nov 2010 20:59:16 +0500
parent 3559:0708d42ef0d4
child 3607:e1259b6d7560
line wrap: on
line diff
--- a/plugins/mod_proxy65.lua	Wed Nov 10 20:51:23 2010 +0500
+++ b/plugins/mod_proxy65.lua	Wed Nov 10 20:59:16 2010 +0500
@@ -16,7 +16,6 @@
 
 local jid_split, jid_join, jid_compare = require "util.jid".split, require "util.jid".join, require "util.jid".compare;
 local st = require "util.stanza";
-local componentmanager = require "core.componentmanager";
 local config_get = require "core.configmanager".get;
 local connlisteners = require "net.connlisteners";
 local sha1 = require "util.hashes".sha1;
@@ -185,7 +184,6 @@
 end
 
 module.unload = function()
-	componentmanager.deregister_component(host);
 	connlisteners.deregister(module.host .. ':proxy65');
 end
 
@@ -260,4 +258,3 @@
 end
 
 connlisteners.start(module.host .. ':proxy65');
-component = componentmanager.register_component(host, function() end);