summaryrefslogtreecommitdiffstats
path: root/src/Server
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server')
-rw-r--r--src/Server/UserListManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server/UserListManager.cpp b/src/Server/UserListManager.cpp
index d1a6e31..d520c96 100644
--- a/src/Server/UserListManager.cpp
+++ b/src/Server/UserListManager.cpp
@@ -141,7 +141,7 @@ boost::shared_ptr<Common::UserLists::UserList> UserListManager::getCurrentUserLi
Common::UserLists::UserListEntry entry(user->second.getUsername(), groupname);
entry.setDetail("Full name", user->second.getFullName());
- list->push_back(entry);
+ list->addUser(entry);
}
return list;