diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-12 18:29:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-13 04:41:55 +0300 |
commit | 6bd4fff31e0b44b8b71876250c626fe8c15b4105 (patch) | |
tree | cdd7f984a0850864316ae23c33120b6d282b70ba /src/configuration.h | |
parent | f457675ecfd704c99e84fe14f0a1dd49a69a9c76 (diff) | |
download | manaverse-6bd4fff31e0b44b8b71876250c626fe8c15b4105.tar.gz manaverse-6bd4fff31e0b44b8b71876250c626fe8c15b4105.tar.bz2 manaverse-6bd4fff31e0b44b8b71876250c626fe8c15b4105.tar.xz manaverse-6bd4fff31e0b44b8b71876250c626fe8c15b4105.zip |
Add missing checks to some files and style fixes.
Diffstat (limited to 'src/configuration.h')
-rw-r--r-- | src/configuration.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configuration.h b/src/configuration.h index 2e694002d..1f03b7387 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -179,6 +179,9 @@ class ConfigurationObject ConfigurationList *list = &(mContainerOptions[name]); CONT container = empty; + if (!manager) + return container; + for (ConfigurationList::const_iterator it = list->begin(); it != list->end(); it++) { |