From 9f962123be30da94add3f966bb46962f8bfdea88 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 24 Sep 2009 21:50:11 +0200 Subject: UserList: Encapsulate list --- src/Server/UserListManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Server') 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 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; -- cgit v1.2.3