From 480d2730c6d001c5167e776f36ecf1291e70ad88 Mon Sep 17 00:00:00 2001 From: Max-Wilhelm Bruker Date: Sat, 12 Mar 2011 20:31:20 +0100 Subject: [PATCH] don't send full user info to clients in global join event --- common/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/server.cpp b/common/server.cpp index 15a90a3c..ab5ca8b5 100644 --- a/common/server.cpp +++ b/common/server.cpp @@ -67,7 +67,7 @@ AuthenticationResult Server::loginUser(Server_ProtocolHandler *session, QString users.insert(name, session); - Event_UserJoined *event = new Event_UserJoined(new ServerInfo_User(data)); + Event_UserJoined *event = new Event_UserJoined(new ServerInfo_User(data, false)); for (int i = 0; i < clients.size(); ++i) if (clients[i]->getAcceptsUserListChanges()) clients[i]->sendProtocolItem(event, false);