summaryrefslogtreecommitdiffstats
path: root/src/madc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/madc.cpp')
-rw-r--r--src/madc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/madc.cpp b/src/madc.cpp
index 7738f29..ba9770e 100644
--- a/src/madc.cpp
+++ b/src/madc.cpp
@@ -80,8 +80,7 @@ int main(int argc, char *argv[]) {
std::cerr << " done." << std::endl << std::endl;
boost::shared_ptr<Common::Backends::NetworkUserBackend> networkUserBackend(new Common::Backends::NetworkUserBackend(&application, connection));
- application.getUserManager()->registerBackend(networkUserBackend);
- application.getUserManager()->setCaching(true);
+ application.getUserManager()->registerBackendCached(networkUserBackend);
Client::CommandParser commandParser(&application, connection);