diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-05 01:11:20 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-05 02:16:43 +0200 |
commit | 9b41256ebf21a118b3a1a68b9bf2acfd75a7f5be (patch) | |
tree | 29fc32c3c8b8ec361e9922f6f0d38f452abc18ee /common.c | |
parent | 0ecd297c6fab28d5b0309084a72fd39033445da2 (diff) | |
download | xK-9b41256ebf21a118b3a1a68b9bf2acfd75a7f5be.tar.gz xK-9b41256ebf21a118b3a1a68b9bf2acfd75a7f5be.tar.xz xK-9b41256ebf21a118b3a1a68b9bf2acfd75a7f5be.zip |
degesch: create servers from configuration
This means that as of now, the only way of creating a server is
to edit the configuration file by hand and add (at least) an empty
object under the server's name.
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1131,7 +1131,6 @@ config_schema_accepts_type && config_item_type_is_string (type)) return true; return !self->default_ && type == CONFIG_ITEM_NULL; - } static bool @@ -2008,6 +2007,7 @@ config_load (struct config *self, struct config_item_ *root) subtree = config_item_object (); str_map_set (&root->value.object, module->name, subtree); } - module->loader (subtree, module->user_data); + if (module->loader) + module->loader (subtree, module->user_data); } } |