summaryrefslogtreecommitdiffstats
path: root/src/modules/UserBackendHome
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-08-06 21:28:41 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-08-06 21:28:41 +0200
commit0d1a7cb65b7b0f5ecc8e3cd6fbabdebab7f47f7f (patch)
treebd12565104b27cb6f28b8c0b2544dd65baf94b5b /src/modules/UserBackendHome
parentf7d433e6e8559b4584263cae025d3addd1342df4 (diff)
downloadmad-0d1a7cb65b7b0f5ecc8e3cd6fbabdebab7f47f7f.tar
mad-0d1a7cb65b7b0f5ecc8e3cd6fbabdebab7f47f7f.zip
Revised server config format
Diffstat (limited to 'src/modules/UserBackendHome')
-rw-r--r--src/modules/UserBackendHome/UserBackendHome.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/modules/UserBackendHome/UserBackendHome.cpp b/src/modules/UserBackendHome/UserBackendHome.cpp
index f0714fe..445af72 100644
--- a/src/modules/UserBackendHome/UserBackendHome.cpp
+++ b/src/modules/UserBackendHome/UserBackendHome.cpp
@@ -31,11 +31,8 @@ namespace Mad {
namespace Modules {
namespace UserBackendHome {
-bool UserBackendHome::handleConfigEntry(const Core::ConfigEntry &entry, bool handled) {
- if(handled)
- return false;
-
- if(entry[0].getKey().matches("UserBackendHome")) {
+bool UserBackendHome::handleConfigEntry(const Core::ConfigEntry &entry, bool /*handled*/) {
+ if(entry[0].getKey().matches("UserManager")) {
if(entry[1].getKey().matches("Skeleton")) {
if(entry[2].empty())
skeleton = entry[1][0];
@@ -44,7 +41,7 @@ bool UserBackendHome::handleConfigEntry(const Core::ConfigEntry &entry, bool han
if(entry[2].empty())
homeDir = entry[1][0];
}
- else if(entry[1].getKey().matches("DirMode")) {
+ else if(entry[1].getKey().matches("UserDirMode")) {
if(entry[2].empty()) {
if(entry[1][0].empty()) {
dirMode = 0755;