don't send full user info to clients in global join event
This commit is contained in:
parent
29c4c80ddf
commit
480d2730c6
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ AuthenticationResult Server::loginUser(Server_ProtocolHandler *session, QString
|
||||||
|
|
||||||
users.insert(name, session);
|
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)
|
for (int i = 0; i < clients.size(); ++i)
|
||||||
if (clients[i]->getAcceptsUserListChanges())
|
if (clients[i]->getAcceptsUserListChanges())
|
||||||
clients[i]->sendProtocolItem(event, false);
|
clients[i]->sendProtocolItem(event, false);
|
||||||
|
|
Loading…
Reference in a new issue