diff options
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | core/componentmanager.lua | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -78,6 +78,10 @@ do PREFIX="$value" PREFIX_SET=yes ;; + --sysconfdir=*) + SYSCONFDIR="$value" + SYSCONFDIR_SET=yes + ;; --ostype=*) OSTYPE="$value" OSTYPE_SET=yes diff --git a/core/componentmanager.lua b/core/componentmanager.lua index 77d11f99..8b1cce3a 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -103,7 +103,7 @@ end function deregister_component(host) if components[host] then modulemanager.unload(host, "dialback"); - host.connected = nil; + hosts[host].connected = nil; local host_config = configmanager.getconfig()[host]; if host_config and ((host_config.core.enabled == nil or host_config.core.enabled) and type(host_config.core.component_module) == "string") then -- Set default handler |