diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-09-24 21:50:11 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-09-24 21:50:11 +0200 |
commit | 9f962123be30da94add3f966bb46962f8bfdea88 (patch) | |
tree | ed1a210da3d5ba5d8d7d0807dd4e6ed4de4172f4 /src/Server | |
parent | 1cf531a5949cad1f68575188cf00d147478e029c (diff) | |
download | mad-9f962123be30da94add3f966bb46962f8bfdea88.tar mad-9f962123be30da94add3f966bb46962f8bfdea88.zip |
UserList: Encapsulate list
Diffstat (limited to 'src/Server')
-rw-r--r-- | src/Server/UserListManager.cpp | 2 |
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; |