diff options
Diffstat (limited to 'src/modules/UserBackendHome')
-rw-r--r-- | src/modules/UserBackendHome/UserBackendHome.cpp | 9 |
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; |