diff options
author | Kim Alvefur <zash@zash.se> | 2013-03-23 02:33:15 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-03-23 02:33:15 +0100 |
commit | 1acfdf5914a91071da52f2203dce90ec3c30d5ba (patch) | |
tree | ecc07df37df1db9a79a86f936ed683a9654861f4 /core/moduleapi.lua | |
parent | 974917a5a22e27441c086474be2672b3ba1fa3af (diff) | |
download | prosody-1acfdf5914a91071da52f2203dce90ec3c30d5ba.tar.gz prosody-1acfdf5914a91071da52f2203dce90ec3c30d5ba.zip |
core.*: Complete removal of all traces of the "core" section and section-related code.
Diffstat (limited to 'core/moduleapi.lua')
-rw-r--r-- | core/moduleapi.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua index 20898fcf..f9701471 100644 --- a/core/moduleapi.lua +++ b/core/moduleapi.lua @@ -167,12 +167,9 @@ function api:shared(...) end function api:get_option(name, default_value) - local value = config.get(self.host, self.name, name); + local value = config.get(self.host, name); if value == nil then - value = config.get(self.host, "core", name); - if value == nil then - value = default_value; - end + value = default_value; end return value; end |