From 0d1a7cb65b7b0f5ecc8e3cd6fbabdebab7f47f7f Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 6 Aug 2009 21:28:41 +0200 Subject: Revised server config format --- src/modules/UserBackendHome/UserBackendHome.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/modules/UserBackendHome') 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; -- cgit v1.2.3