summaryrefslogtreecommitdiffstats
path: root/src/Server/UserListManager.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-09-24 21:50:11 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-09-24 21:50:11 +0200
commit9f962123be30da94add3f966bb46962f8bfdea88 (patch)
treeed1a210da3d5ba5d8d7d0807dd4e6ed4de4172f4 /src/Server/UserListManager.cpp
parent1cf531a5949cad1f68575188cf00d147478e029c (diff)
downloadmad-9f962123be30da94add3f966bb46962f8bfdea88.tar
mad-9f962123be30da94add3f966bb46962f8bfdea88.zip
UserList: Encapsulate list
Diffstat (limited to 'src/Server/UserListManager.cpp')
-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;