core/componentmanager.lua

changeset 703
f9909efed20c
parent 673
c9bc58e84e96
child 751
7c22619fdb19
equal deleted inserted replaced
702:d344860fdada 703:f9909efed20c
56 else 56 else
57 log("error", "Attempt to set component for existing host: "..host); 57 log("error", "Attempt to set component for existing host: "..host);
58 end 58 end
59 end 59 end
60 60
61 function deregister_component(host, component) 61 function deregister_component(host)
62 if components[host] then 62 if components[host] then
63 module_unload(host, "dialback"); 63 module_unload(host, "dialback");
64 components[host] = nil; 64 components[host] = nil;
65 hosts[host] = nil; 65 hosts[host] = nil;
66 log("debug", "component removed: "..host); 66 log("debug", "component removed: "..host);

mercurial